From 736d8b9019c7a14b3d808e5bd7ef4bc4196a0457 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 7 Jun 2010 17:17:53 +0000 Subject: [PATCH] Reacted on harmless compiler warnings on Solaris --- cdrskin/cdrskin.c | 5 +++-- cdrskin/cdrskin_timestamp.h | 2 +- libburn/init.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cdrskin/cdrskin.c b/cdrskin/cdrskin.c index 3a188c4..c637eb6 100644 --- a/cdrskin/cdrskin.c +++ b/cdrskin/cdrskin.c @@ -4200,8 +4200,9 @@ int Cdrskin_abort_handler(struct CdrskiN *skin, int signum, int flag) if(getpid()!=skin->control_pid) { if(skin->verbosity>=Cdrskin_verbose_debuG) ClN(fprintf(stderr, - "\ncdrskin_debug: ABORT : [%d] Thread rejected: pid=%d, signum=%d\n", - skin->control_pid,getpid(),signum)); + "\ncdrskin_debug: ABORT : [%lu] Thread rejected: pid=%lu, signum=%lu\n", + (unsigned long int) skin->control_pid, (unsigned long int) getpid(), + (unsigned long int) signum)); #ifdef Not_yeT /* >>> find more abstract and system independent way to determine diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index d9e73d9..9f7f569 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2010.06.07.171552" +#define Cdrskin_timestamP "2010.06.07.171706" diff --git a/libburn/init.c b/libburn/init.c index 4dff16e..64ae3f2 100644 --- a/libburn/init.c +++ b/libburn/init.c @@ -342,7 +342,7 @@ char *burn_util_thread_id(pid_t pid, pthread_t tid, char text[80]) { int i, l; - sprintf(text, "[%d,", getpid()); + sprintf(text, "[%lu,", (unsigned long int) getpid()); l= strlen(text); for(i= 0; i < sizeof(pthread_t) && 2 * i < 80 - l - 3; i++) sprintf(text + l + 2 * i,