Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL: ordered comparison of pointer with integer zero #442

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments
Closed

SDL: ordered comparison of pointer with integer zero #442

SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 1.2.13
Reported for operating system, platform: All, All

Comments on the original bug report:

On 2008-11-27 05:51:44 +0000, Pavol Rusnak wrote:

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)

On 2009-02-16 21:25:55 +0000, Sam Lantinga wrote:

Thanks, this is fixed in revision 4434.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant