diff options
author | Bertrik Sikken <bertrik@sikken.nl> | 2010-10-24 21:39:09 +0000 |
---|---|---|
committer | Bertrik Sikken <bertrik@sikken.nl> | 2010-10-24 21:39:09 +0000 |
commit | 462f012d179baa382e7983b479c08b9ad73659af (patch) | |
tree | 560dc73b71b9928ac03917fc6a53c2cce50357c6 /apps/iap.c | |
parent | 957a31899d02f2d940e932e68fbb52c459119959 (diff) | |
download | rockbox-462f012d179baa382e7983b479c08b9ad73659af.tar.gz rockbox-462f012d179baa382e7983b479c08b9ad73659af.zip |
Fix return type of iap_getc (should be bool instead of int)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28354 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/iap.c')
-rw-r--r-- | apps/iap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/iap.c b/apps/iap.c index f53717e625..d432a16dc3 100644 --- a/apps/iap.c +++ b/apps/iap.c | |||
@@ -148,7 +148,7 @@ void iap_send_pkt(const unsigned char * data, int len) | |||
148 | } | 148 | } |
149 | } | 149 | } |
150 | 150 | ||
151 | int iap_getc(unsigned char x) | 151 | bool iap_getc(unsigned char x) |
152 | { | 152 | { |
153 | static unsigned char last_x = 0; | 153 | static unsigned char last_x = 0; |
154 | static bool newpkt = true; | 154 | static bool newpkt = true; |