Bug 4437 - hw/xfree86/x86emu/validate.c uses non-standard ulong type
Summary: hw/xfree86/x86emu/validate.c uses non-standard ulong type
Status: RESOLVED INVALID
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other FreeBSD
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 00:22 UTC by Diego Elio Pettenò
Modified: 2006-10-12 16:45 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
hw-xfree86-x86emu-validate_c.patch (1.23 KB, patch)
2005-09-13 00:23 UTC, Diego Elio Pettenò
no flags Details | Splinter Review

Description Diego Elio Pettenò 2005-09-13 00:22:13 UTC
As per subject hw/xfree86/x86emu/validate.c uses the non-standard 'ulong' type 
that doesn't exists on FreeBSD (neither if you include sys/types.h). 
A simple replacement of it with unsigned long make the errors (for that) 
disappear. 
It also need a prototype for print_flags() function or GCC complains about 
that (not sure why, tho, but it makes sense to define a prototype). 
 
The attached patch fixes both problems. 
 
HTH, 
Diego
Comment 1 Diego Elio Pettenò 2005-09-13 00:23:11 UTC
Created attachment 3247 [details] [review]
hw-xfree86-x86emu-validate_c.patch
Comment 2 Diego Elio Pettenò 2006-10-12 16:45:47 UTC
This does not seem to be pertinent anymore.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.