From: robertl Date: Tue, 16 May 2006 21:35:07 +0000 (+0000) Subject: Fix track read on big endian systems. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~2831 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cd2ac53328ea2abd617f6971844dc37867b11a7b;p=gpsbabel.git Fix track read on big endian systems. --- diff --git a/gpsbabel/tpo.c b/gpsbabel/tpo.c index c80352988..91464d80b 100644 --- a/gpsbabel/tpo.c +++ b/gpsbabel/tpo.c @@ -434,7 +434,7 @@ void tpo_read_2_x(void) // int tpo_read_8() { - int val = 0; + char val = 0; tpo_fread(&val, 1, 1, tpo_file_in); return(val);