Fixed handling of mailslot read timeout to avoid compiler warnings.
diff --git a/server/trace.c b/server/trace.c
index 7f98962..d389997 100644
--- a/server/trace.c
+++ b/server/trace.c
@@ -3052,7 +3052,7 @@
fprintf( stderr, " access=%08x,", req->access );
fprintf( stderr, " attributes=%08x,", req->attributes );
fprintf( stderr, " max_msgsize=%08x,", req->max_msgsize );
- fprintf( stderr, " read_timeout=%08x,", req->read_timeout );
+ fprintf( stderr, " read_timeout=%d,", req->read_timeout );
fprintf( stderr, " name=" );
dump_varargs_unicode_str( cur_size );
}
@@ -3080,13 +3080,13 @@
{
fprintf( stderr, " handle=%p,", req->handle );
fprintf( stderr, " flags=%08x,", req->flags );
- fprintf( stderr, " read_timeout=%08x", req->read_timeout );
+ fprintf( stderr, " read_timeout=%d", req->read_timeout );
}
static void dump_set_mailslot_info_reply( const struct set_mailslot_info_reply *req )
{
fprintf( stderr, " max_msgsize=%08x,", req->max_msgsize );
- fprintf( stderr, " read_timeout=%08x,", req->read_timeout );
+ fprintf( stderr, " read_timeout=%d,", req->read_timeout );
fprintf( stderr, " msg_count=%08x,", req->msg_count );
fprintf( stderr, " next_msgsize=%08x", req->next_msgsize );
}