Bug 4920 - [PATCH] lib/xkbfile/maprules.c compile warning / fix
Summary: [PATCH] lib/xkbfile/maprules.c compile warning / fix
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Lib/other (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Daniel Stone
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 4542
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-28 11:09 UTC by Bill Crawford
Modified: 2006-04-07 08:47 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Avoid compiler warning by using real unsigned char pointer for XGetWindowProperty (1.35 KB, patch)
2005-10-28 11:27 UTC, Bill Crawford
no flags Details | Splinter Review

Description Bill Crawford 2005-10-28 11:09:32 UTC
maprules.c: In function 'XkbRF_GetNamesProp':
maprules.c:1373: warning: dereferencing type-punned pointer will break
strict-aliasing rules
Comment 1 Bill Crawford 2005-10-28 11:27:34 UTC
Created attachment 3653 [details] [review]
Avoid compiler warning by using real unsigned char pointer for XGetWindowProperty
Comment 2 Shawn Starr 2005-10-28 12:38:31 UTC
Thanks for the patch, bug is grouped with 4542 to handle all complation cleanups
(janitor work).
Comment 3 Erik Andren 2006-03-28 17:10:22 UTC
Has this fix been merged? If so please close this bug. 
Comment 4 Daniel Stone 2006-04-02 11:09:40 UTC
not yet
Comment 5 Daniel Stone 2006-04-08 01:47:38 UTC
fixed in HEAD, thanks


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.