svn commit: trunk/uClibc/test/stdio

vapier at uclibc.org vapier at uclibc.org
Mon Jan 29 04:03:32 UTC 2007


Author: vapier
Date: 2007-01-28 20:03:31 -0800 (Sun, 28 Jan 2007)
New Revision: 17621

Log:
make sure reading 64bit types works

Modified:
   trunk/uClibc/test/stdio/64bit.c


Changeset:
Modified: trunk/uClibc/test/stdio/64bit.c
===================================================================
--- trunk/uClibc/test/stdio/64bit.c	2007-01-29 03:59:09 UTC (rev 17620)
+++ trunk/uClibc/test/stdio/64bit.c	2007-01-29 04:03:31 UTC (rev 17621)
@@ -2,7 +2,11 @@
 
 int main(void)
 {
+	unsigned long long val = -1;
 	void *ptr = (void *)-1;
 	printf("%p\n", ptr);
+
+	sscanf("123456789", "%Lx", &val);
+	printf("val = %Lx\n", val);
 	return 0;
 }




More information about the uClibc-cvs mailing list