Merge "Fix build on mac."
This commit is contained in:
commit
1dbf33b0ca
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue