svn commit: trunk/uClibc/libc/stdio

aldot at uclibc.org aldot at uclibc.org
Fri May 23 20:57:20 UTC 2008


Author: aldot
Date: 2008-05-23 13:57:20 -0700 (Fri, 23 May 2008)
New Revision: 22066

Log:
- avoid warning about cast from pointer to integer of different size


Modified:
   trunk/uClibc/libc/stdio/_scanf.c


Changeset:
Modified: trunk/uClibc/libc/stdio/_scanf.c
===================================================================
--- trunk/uClibc/libc/stdio/_scanf.c	2008-05-23 20:36:33 UTC (rev 22065)
+++ trunk/uClibc/libc/stdio/_scanf.c	2008-05-23 20:57:20 UTC (rev 22066)
@@ -1826,7 +1826,7 @@
 				if (psfs->store) {
 					++psfs->cnt;
 					_store_inttype(psfs->cur_ptr, psfs->dataargtype,
-								   (uintmax_t) NULL);
+								   (uintmax_t)0);
 				}
 				return 0;
 			}




More information about the uClibc-cvs mailing list