Author: rco Date: 2010-04-30 17:12:00 +0200 (Fri, 30 Apr 2010) New Revision: 1875
Modified: trunk/core/log.h Log: - fixes compilation on macosx. Modified: trunk/core/log.h =================================================================== --- trunk/core/log.h 2010-04-30 14:32:20 UTC (rev 1874) +++ trunk/core/log.h 2010-04-30 15:12:00 UTC (rev 1875) @@ -73,7 +73,7 @@ # ifndef NO_THREADID_LOG # define GET_TID() pthread_self() # define LOC_FMT " [%s, #%lx] [%u/%s:%d]" -# define LOC_DATA FUNC_NAME, tid_, pid_, __FILE__, __LINE__ +# define LOC_DATA FUNC_NAME, (unsigned long)tid_, pid_, __FILE__, __LINE__ # else # define GET_TID() 0 # define LOC_FMT " [%s] [%u/%s:%d]" _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
