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:
Mike Blumenkrantz 2019-10-24 14:35:28 +02:00 committed by Xavi Artigas
parent 39ba1b79d4
commit fbb8d83373
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{