Skip to content

Display and control your Android device

Fix size_t format specifier for Windows

Romain Vimont868e762d7169
diff --git a/app/src/command.h b/app/src/command.h
index 28f9fbcf..7035139b 100644
--- a/app/src/command.h
+++ b/app/src/command.h
@@ -12,11 +12,7 @@
# define PATH_SEPARATOR '\\'
# define PRIexitcode "lu"
// <https://stackoverflow.com/a/44383330/1987178>
-# ifdef _WIN64
-# define PRIsizet PRIu64
-# else
-# define PRIsizet PRIu32
-# endif
+# define PRIsizet "Iu"
# define PROCESS_NONE NULL
# define NO_EXIT_CODE -1u // max value as unsigned
typedef HANDLE process_t;