Bug 4920

Summary: [PATCH] lib/xkbfile/maprules.c compile warning / fix
Product: xorg Reporter: Bill Crawford <billcrawford1970>
Component: Lib/otherAssignee: Daniel Stone <daniel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high CC: erik.andren, shawn.starr
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on: 4542    
Bug Blocks:    
Attachments:
Description Flags
Avoid compiler warning by using real unsigned char pointer for XGetWindowProperty none

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.