summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-02-05 01:18:17 +0000
committerphintuka <phintuka>2008-02-05 01:18:17 +0000
commitef2b3c0360a05d146f5b6573a4fbb3971c658c8f (patch)
treede5a8885db18a22ab82771b419dd38f20105384a
parent07ee7d6326674edea6e89c70a9bdf32a787b5378 (diff)
downloadxineliboutput-ef2b3c0360a05d146f5b6573a4fbb3971c658c8f.tar.gz
xineliboutput-ef2b3c0360a05d146f5b6573a4fbb3971c658c8f.tar.bz2
Eliminate compiler warnings
-rw-r--r--logdefs.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/logdefs.h b/logdefs.h
index 0cbf170c..df186697 100644
--- a/logdefs.h
+++ b/logdefs.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: logdefs.h,v 1.7 2007-03-14 11:57:48 phintuka Exp $
+ * $Id: logdefs.h,v 1.8 2008-02-05 01:18:17 phintuka Exp $
*
*/
@@ -51,9 +51,9 @@
buf[sizeof(buf)-1] = 0;
# ifndef __APPLE__
if(!LogToSysLog) {
- fprintf(stderr,"[%ld] " LOG_MODULENAME "%s\n", syscall(__NR_gettid), buf);
+ fprintf(stderr,"[%ld] " LOG_MODULENAME "%s\n", (long int)syscall(__NR_gettid), buf);
} else {
- syslog(level, "[%ld] " LOG_MODULENAME "%s", syscall(__NR_gettid), buf);
+ syslog(level, "[%ld] " LOG_MODULENAME "%s", (long int)syscall(__NR_gettid), buf);
}
# else
if(!LogToSysLog) {