summaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-10-24 14:35:28 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-10-24 14:40:33 +0200
commitfbb8d8337392f8eb23bf1968b95b8116a2b3cf43 (patch)
treee917b3e453d482f878f3dffdfe80ccd2bcf3702f /src/examples
parent39ba1b79d4223db2a5af2552aab8eca6c01c5039 (diff)
examples/ecore: use correct type for getchar() return
Summary: correct prototype is int getchar(void); CID 1400794 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10391
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/ecore/ecore_evas_ews_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/ecore/ecore_evas_ews_example.c b/src/examples/ecore/ecore_evas_ews_example.c
index a8af178dde..b4415cb5e9 100644
--- a/src/examples/ecore/ecore_evas_ews_example.c
+++ b/src/examples/ecore/ecore_evas_ews_example.c
@@ -82,7 +82,7 @@ _stdin_cb(void *data EINA_UNUSED, Ecore_Fd_Handler *handler EINA_UNUSED)
82{ 82{
83 const Eina_List *l; 83 const Eina_List *l;
84 Ecore_Evas *ee; 84 Ecore_Evas *ee;
85 char c = getchar(); 85 int c = getchar();
86 86
87 if (c == EOF) 87 if (c == EOF)
88 { 88 {