Ignore:
Timestamp:
Jul 18, 2007, 5:25:42 PM (14 years ago)
Author:
joshe
Message:

Include trcompat.h for asprintf()
Don't mix function and non function pointers without casting.
Replace a couple bzero()s with memset()s.
Remove a stray ;
Include a missing header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/platform.c

    r2343 r2391  
    228228    resume_thread( t->thread );
    229229#else
    230     pthread_create( &t->thread, NULL, (void *) ThreadFunc, t );
     230    pthread_create( &t->thread, NULL, (void * (*) (void *)) ThreadFunc, t );
    231231#endif
    232232}
Note: See TracChangeset for help on using the changeset viewer.