From: raster Date: Wed, 10 Aug 2011 04:39:04 +0000 (+0000) Subject: if we are going to have %d's - use them in the next scanf too. X-Git-Tag: 2.0_alpha~64^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ad6fc5f1f7868dc20141094ed3cb8d3df2afa3c;p=framework%2Fuifw%2Feina.git if we are going to have %d's - use them in the next scanf too. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@62282 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/eina_hamster.c b/src/lib/eina_hamster.c index a94d144..cebc10b 100644 --- a/src/lib/eina_hamster.c +++ b/src/lib/eina_hamster.c @@ -65,7 +65,7 @@ eina_hamster_count(void) if (fields == 3) { _eina_hamsters = (hrs * 60) + min; - fields = sscanf(_eina_hamster_date, "%s %i %i", mon, &day, &year); + fields = sscanf(_eina_hamster_date, "%s %d %d", mon, &day, &year); if (fields == 3) { int i;