Bug 110757

Summary: bad source code
Product: [Fedora] Fedora Reporter: d.binderman
Component: gnome-libsAssignee: Havoc Pennington <hp>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 1   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-25 18:21:45 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:

Description d.binderman 2003-11-24 14:51:38 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)

Description of problem:

I have just tried to compile package gnome-libs-1_4_1_2_90-34 from
Fedora.

The compiler said

test.c:59: warning: format argument is not a pointer (arg 2)

The source code is

        printf ("visited: %s\n", cbs->visited);

But according to file gtk-xmhtml/HTML.h, visited is of type Boolean,
which is not a string for %s.


Version-Release number of selected component (if applicable):
gnome-libs-1_4_1_2_90-34 

How reproducible:
Always

Steps to Reproduce:
1. by inspection
2.
3.
    

Additional info:

Comment 1 Havoc Pennington 2004-05-25 18:21:45 UTC
This is just an unused test program in a legacy/deprecated compat
library, so won't bother to patch. Thanks for the report though.