]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/util_posix.c
Fix some printf/scanf format strings
[proxmark3-svn] / client / util_posix.c
index 32158adab3403fa394f1406d40961692ad19425d..435e41f39cebdb8b5eea32ac81b16a6358113254 100644 (file)
@@ -117,7 +117,7 @@ uint64_t msclock() {
        #include <sys/timeb.h>
        struct _timeb t;
        _ftime(&t);
-       return 1000 * t.time + t.millitm;
+       return 1000 * (uint64_t)t.time + t.millitm;
 
 // NORMAL CODE (use _ftime_s)
        //struct _timeb t;
Impressum, Datenschutz