Bug 15068 - xorg/app/xrandr - Compile warning fixes
Summary: xorg/app/xrandr - Compile warning fixes
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xrandr (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Keith Packard
QA Contact:
URL:
Whiteboard:
Keywords: janitor, patch
Depends on:
Blocks:
 
Reported: 2008-03-16 13:27 UTC by Paulo César Pereira de Andrade
Modified: 2009-01-26 21:31 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
0001-Compile-warning-fixes.patch (5.20 KB, patch)
2008-03-16 13:27 UTC, Paulo César Pereira de Andrade
no flags Details | Splinter Review

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.