We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 647

Summary: SDL: ordered comparison of pointer with integer zero
Product: SDL Reporter: Pavol Rusnak <stick>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: trivial    
Priority: P2 CC: sezeroz
Version: 1.2.13   
Hardware: All   
OS: All   
URL: https://bugzilla.novell.com/show_bug.cgi?id=433366

Description Pavol Rusnak 2008-11-27 05:51:44 UTC
src/video/fbcon/SDL_fbvideo.c:283: warning: ordered comparison of pointer with
integer zero

The source code is

               if (fgets(line,length,f)<=0)

Suggest replace with

               if (fgets(line,length,f) == 0)
Comment 1 Sam Lantinga 2009-02-16 21:25:55 UTC
Thanks, this is fixed in revision 4434.