author Sam Lantinga <>
Tue, 17 Feb 2009 05:25:25 +0000
changeset 4163 bec67d0b6645
parent 4146 dc726b233f5f
permissions -rw-r--r--
Fixed bug #646

Description From Pavol Rusnak 2008-11-27 05:51:44 (-) [reply]

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)
     2 The latest development version of SDL is available via Subversion.
     3 Subversion allows you to get up-to-the-minute fixes and enhancements;
     4 as a developer works on a source tree, you can use svn to mirror that
     5 source tree instead of waiting for an official release. Please look
     6 at the Subversion website ( ) for more
     7 information on using svn, where you can also download software for
     8 MacOS, Windows, and Unix systems.
    10   svn checkout
    12 If you are building SDL with an IDE, you will need to copy the file
    13 include/SDL_config.h.default to include/SDL_config.h before building.
    15 If you are building SDL via configure, you will need to run
    16 before running configure.
    18 There is a web interface to the subversion repository at:
    21 There is an RSS feed available at that URL, for those that want to
    22 track commits in real time.