Bug 2251945

Summary: xterm: XkbBell configure check uses wrong argument type
Product: [Fedora] Fedora Reporter: Florian Weimer <fweimer>
Component: xtermAssignee: Florian Weimer <fweimer>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: dickey, tkorbar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: xterm-388-3.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-28 15:05:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2141798    
Attachments:
Description Flags
xterm-configure-c99.patch none

Description Florian Weimer 2023-11-28 14:48:55 UTC
The second argument is a Window, not a Widget:

-       XkbBell((Display *)0, (Widget)0, 0, y);
+       XkbBell((Display *)0, (Window)0, 0, y);

Filing this here so that we have a public reference.

Reproducible: Always

Comment 1 Florian Weimer 2023-11-28 14:49:49 UTC
Created attachment 2001829 [details]
xterm-configure-c99.patch