Bug 15068

Summary: xorg/app/xrandr - Compile warning fixes
Product: xorg Reporter: Paulo César Pereira de Andrade <pcpa>
Component: App/xrandrAssignee: Keith Packard <keithp>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium Keywords: janitor, patch
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
0001-Compile-warning-fixes.patch none

Description Paulo César Pereira de Andrade 2008-03-16 13:27:54 UTC
Created attachment 15198 [details] [review]
0001-Compile-warning-fixes.patch

Follow pattern already used and declare functions as static to avoid
warnings about missing prototypes.
  Cast some printf arguments. Only possible problem could be changing
*(INT32 *) to *(int *), but it is only printf arguments, and I don't
think Xorg supports any architecture where int isn't a 32 bits integer.

  This fixes all compile warnings.
Comment 1 Paulo César Pereira de Andrade 2009-01-26 21:31:33 UTC
Already corrected in git master.

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.