[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] fix warning
From: |
Hideki IWAMOTO |
Subject: |
[PATCH] fix warning |
Date: |
Sun, 16 Feb 2003 15:14:30 +0900 |
gtags.c: In function `main':
gtags.c:340: warning: comparison between pointer and integer
? gtags/.deps
? gtags/Makefile
? gtags/Makefile.in
? gtags/const.h
? gtags/gtags
? gtags/gtags.1
Index: gtags/gtags.c
===================================================================
RCS file: /cvsroot/global/global/gtags/gtags.c,v
retrieving revision 1.58
diff -u -r1.58 gtags.c
--- gtags/gtags.c 15 Sep 2002 06:31:24 -0000 1.58
+++ gtags/gtags.c 16 Feb 2003 06:07:44 -0000
@@ -337,7 +337,7 @@
putc(*p, stdout);
for (q = ++p; *q && *q != ' '; q++)
;
- if (*q == NULL) {
+ if (*q == '\0') {
printf("%s: ERROR(2): %s", progname,
strbuf_value(ib));
continue;
}
----
Hideki IWAMOTO address@hidden
- [PATCH] fix warning,
Hideki IWAMOTO <=