diff options
author | Nikias Bassen | 2019-10-11 23:22:12 +0200 |
---|---|---|
committer | Nikias Bassen | 2019-10-11 23:22:12 +0200 |
commit | 71d65b39f437811d82739f3862fcc92348766dfb (patch) | |
tree | 7ea504f73c74b9b39792cfbbbd065f883298493d /src/common.h | |
parent | 2805c31c3c1427cb6535982b244e9bfeb28e9221 (diff) | |
download | idevicerestore-71d65b39f437811d82739f3862fcc92348766dfb.tar.gz idevicerestore-71d65b39f437811d82739f3862fcc92348766dfb.tar.bz2 |
Don't try to print a NULL udid in device event debug message and use working format specifier for win32
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h index 87ceaaf..dbd2a41 100644 --- a/src/common.h +++ b/src/common.h @@ -131,6 +131,7 @@ char *generate_guid(void); #include <unistd.h> #define __mkdir(path, mode) mkdir(path) #define FMT_qu "%I64u" +#define FMT_016llx "%016I64x" #ifndef sleep #define sleep(x) Sleep(x*1000) #endif @@ -139,6 +140,7 @@ char *generate_guid(void); #include <sys/stat.h> #define __mkdir(path, mode) mkdir(path, mode) #define FMT_qu "%qu" +#define FMT_016llx "%016llx" #define __usleep(x) usleep(x) #endif |