fix
authorChristian Grothoff <christian@grothoff.org>
Fri, 18 Feb 2011 23:05:53 +0000 (23:05 +0000)
committerChristian Grothoff <christian@grothoff.org>
Fri, 18 Feb 2011 23:05:53 +0000 (23:05 +0000)
src/include/gauger.h

index 51e5b41a4f4b2d4df9a30b657a8414e56bd6e4e7..26f4a578e0cea8634bac8896debf5dc1b7b2570f 100644 (file)
@@ -5,6 +5,6 @@
 #include <stdio.h>
 #include <sys/wait.h>
 
-#define GAUGER(counter, value) {char __gauger_s[32];pid_t __gauger_p;if(!(__gauger_p=fork())){if(!fork()){sprintf(__gauger_s,"%d",value);execlp("gauger-cli.py","gauger-cli.py",counter, __gauger_s,(char*)NULL);_exit(1);}else{_exit(0);}}else{waitpid(__gauger_p,NULL,0);}}
+#define GAUGER(counter, value) {char __gauger_s[64];pid_t __gauger_p;if(!(__gauger_p=fork())){if(!fork()){sprintf(__gauger_s,"%llu", (unsigned long long) value);execlp("gauger-cli.py","gauger-cli.py",counter, __gauger_s,(char*)NULL);_exit(1);}else{_exit(0);}}else{waitpid(__gauger_p,NULL,0);}}
 
 #endif