Hi, 

This patch fixes comparison between a char type variable and EOF in
function gbfgetcstr() that is always false on armel architecture. It
seems that it fixes the bug.

Dmitry Mikushkin

diff -ur gpsbabel-1.3.4.orig/gbfile.c gpsbabel-1.3.4/gbfile.c
--- gpsbabel-1.3.4.orig/gbfile.c	2008-06-03 02:44:31.000000000 +0400
+++ gpsbabel-1.3.4/gbfile.c	2008-06-03 02:44:57.000000000 +0400
@@ -663,7 +663,7 @@
 	char *str = file->buff;
 	
 	for (;;) {
-		char c = gbfgetc(file);
+		int c = gbfgetc(file);
 		
 		if ((c == 0) || (c == EOF)) break;
 		

Reply via email to