/*
* Log related functions/defines.
*
- * Copyright (C) 2011-2013 Simon Ruderich
+ * Copyright (C) 2011-2014 Simon Ruderich
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
#ifdef DEBUG
fprintf(stderr, "%-12s:%-4d ", file, line);
#endif
- fprintf(stderr, "[%s] [%d] ", level_string, (int)pthread_self());
+ fprintf(stderr, "[%s] [%ld] ", level_string, (long)pthread_self());
va_start(ap, format);
vfprintf(stderr, format, ap);
va_end(ap);