2004-09-11 Alfred M. Szmidt <ams@kemisten.nu>
authorRoland McGrath <roland@gnu.org>
Sat, 11 Sep 2004 23:05:10 +0000 (23:05 +0000)
committerRoland McGrath <roland@gnu.org>
Sat, 11 Sep 2004 23:05:10 +0000 (23:05 +0000)
* sysdeps/mach/hurd/i386/tls.h (__i386_set_gdt) [!HAVE_I386_SET_GDT]:
Cast THR, SEL and DESC to `void'.

sysdeps/mach/hurd/i386/tls.h

index d04bdb4..8adbee9 100644 (file)
@@ -39,7 +39,7 @@
 # include <mach/i386/mach_i386.h>
 
 # ifndef HAVE_I386_SET_GDT
-#  define __i386_set_gdt(thr, sel, desc) ((thr), (sel), (desc), MIG_BAD_ID)
+#  define __i386_set_gdt(thr, sel, desc) ((void) (thr), (void) (sel), (void) (desc), MIG_BAD_ID)
 # endif
 
 # include <errno.h>