[geany/geany] d51079: Fix mingw-gcc 'ordered comparison of pointer with integer zero' warning
Nick Treleaven
git-noreply at xxxxx
Thu Oct 10 11:44:15 UTC 2013
Branch: refs/heads/master
Author: Nick Treleaven <nick.treleaven at btinternet.com>
Committer: Nick Treleaven <nick.treleaven at btinternet.com>
Date: Thu, 10 Oct 2013 11:44:15 UTC
Commit: d51079d5987a8e3f63c6ddd5bf8c0a58608a8705
https://github.com/geany/geany/commit/d51079d5987a8e3f63c6ddd5bf8c0a58608a8705
Log Message:
-----------
Fix mingw-gcc 'ordered comparison of pointer with integer zero' warning
Modified Paths:
--------------
src/build.c
Modified: src/build.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -842,7 +842,7 @@ static GPid build_spawn_cmd(GeanyDocument *doc, const gchar *cmd, const gchar *d
g_free(output[0]);
g_free(output[1]);
#else
- if (build_info.pid > 0)
+ if (build_info.pid != 0)
{
g_child_watch_add(build_info.pid, (GChildWatchFunc) build_exit_cb, NULL);
build_menu_update(doc);
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list