diff options
-rw-r--r-- | adb/sysdeps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/sysdeps.h b/adb/sysdeps.h index 22f44ce..8d63d14 100644 --- a/adb/sysdeps.h +++ b/adb/sysdeps.h @@ -524,7 +524,7 @@ static __inline__ char* adb_strtok_r(char *str, const char *delim, char **savep static __inline__ unsigned long adb_thread_id() { - return pthread_self(); + return (unsigned long)pthread_self(); } #undef strtok_r |