Index: xorg-server-0.99.1/hw/xfree86/x86emu/validate.c =================================================================== --- xorg-server-0.99.1.orig/hw/xfree86/x86emu/validate.c +++ xorg-server-0.99.1/hw/xfree86/x86emu/validate.c @@ -59,7 +59,7 @@ { \ parm_type d,s; \ res_type r,r_asm; \ - ulong flags,inflags; \ + unsigned long flags,inflags; \ int f,failed = false; \ char buf1[80],buf2[80]; \ for (d = 0; d < dmax; d += dincr) { \ @@ -600,7 +600,9 @@ void printk(const char *fmt, ...) va_end(argptr); } -char * print_flags(char *buf,ulong flags) +char * print_flags(char *buf,unsigned long flags); + +char * print_flags(char *buf,unsigned long flags) { char *separator = ""; @@ -642,7 +644,7 @@ char * print_flags(char *buf,ulong flags int main(int argc) { - ulong def_flags; + unsigned long def_flags; int trace = false; if (argc > 1)