summaryrefslogtreecommitdiff
path: root/net/gnome-nettool/files/patch-src_utils.c
blob: 0c8111ade4bf72c2c77f19af5634a66cc521a60a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/utils.c.orig	Sun Jul  4 20:11:49 2004
+++ src/utils.c	Sun Jul  4 20:12:14 2004
@@ -240,7 +240,7 @@
 	const gchar *unit = "B";
 	gchar *result;
 	
-	sscanf (bytes, "%lld", &rx);
+	rx = strtoull (bytes, (char **)NULL, 10);
 	short_rx = rx * 10;  
 
 	if (rx > 1125899906842624ull) {