forked from enlightenment/efl
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
This commit is contained in:
parent
39ba1b79d4
commit
fbb8d83373
|
@ -82,7 +82,7 @@ _stdin_cb(void *data EINA_UNUSED, Ecore_Fd_Handler *handler EINA_UNUSED)
|
|||
{
|
||||
const Eina_List *l;
|
||||
Ecore_Evas *ee;
|
||||
char c = getchar();
|
||||
int c = getchar();
|
||||
|
||||
if (c == EOF)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue