Reacted on harmless compiler warnings on Solaris
This commit is contained in:
parent
d9b8a5b479
commit
3ef6beab6a
@ -4200,8 +4200,9 @@ int Cdrskin_abort_handler(struct CdrskiN *skin, int signum, int flag)
|
|||||||
if(getpid()!=skin->control_pid) {
|
if(getpid()!=skin->control_pid) {
|
||||||
if(skin->verbosity>=Cdrskin_verbose_debuG)
|
if(skin->verbosity>=Cdrskin_verbose_debuG)
|
||||||
ClN(fprintf(stderr,
|
ClN(fprintf(stderr,
|
||||||
"\ncdrskin_debug: ABORT : [%d] Thread rejected: pid=%d, signum=%d\n",
|
"\ncdrskin_debug: ABORT : [%lu] Thread rejected: pid=%lu, signum=%lu\n",
|
||||||
skin->control_pid,getpid(),signum));
|
(unsigned long int) skin->control_pid, (unsigned long int) getpid(),
|
||||||
|
(unsigned long int) signum));
|
||||||
|
|
||||||
#ifdef Not_yeT
|
#ifdef Not_yeT
|
||||||
/* >>> find more abstract and system independent way to determine
|
/* >>> find more abstract and system independent way to determine
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2010.06.07.171552"
|
#define Cdrskin_timestamP "2010.06.07.171706"
|
||||||
|
@ -342,7 +342,7 @@ char *burn_util_thread_id(pid_t pid, pthread_t tid, char text[80])
|
|||||||
{
|
{
|
||||||
int i, l;
|
int i, l;
|
||||||
|
|
||||||
sprintf(text, "[%d,", getpid());
|
sprintf(text, "[%lu,", (unsigned long int) getpid());
|
||||||
l= strlen(text);
|
l= strlen(text);
|
||||||
for(i= 0; i < sizeof(pthread_t) && 2 * i < 80 - l - 3; i++)
|
for(i= 0; i < sizeof(pthread_t) && 2 * i < 80 - l - 3; i++)
|
||||||
sprintf(text + l + 2 * i,
|
sprintf(text + l + 2 * i,
|
||||||
|
Loading…
Reference in New Issue
Block a user