summaryrefslogtreecommitdiff
path: root/gpsflash.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-16 14:44:21 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-16 14:44:21 +0000
commit196582304c338d0e690f724ee1def6adec2b401b (patch)
treed11da1d2ecb16803e0074676c8dd41115b9f69a7 /gpsflash.h
parentc914c2ddd46d397017baff585f8f71e2311e3cff (diff)
downloadgpsd-196582304c338d0e690f724ee1def6adec2b401b.tar.gz
Restore some lost splint cleanups. Stronger regression tests.
Diffstat (limited to 'gpsflash.h')
-rw-r--r--gpsflash.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gpsflash.h b/gpsflash.h
index f630955c..06a51a9f 100644
--- a/gpsflash.h
+++ b/gpsflash.h
@@ -37,13 +37,13 @@
struct flashloader_t {
const char *flashloader;
- int min_loader_size, max_loader_size;
- int min_firmware_size, max_firmware_size;
+ size_t min_loader_size, max_loader_size;
+ size_t min_firmware_size, max_firmware_size;
int (*port_setup)(int fd, struct termios *term);
int (*stage1_command)(int fd);
- int (*loader_send)(int pfd, struct termios *term, char *loader, int ls);
+ int (*loader_send)(int pfd, struct termios *term, char *loader, size_t ls);
int (*stage2_command)(int fd);
- int (*firmware_send)(int pfd, char *loader, int ls);
+ int (*firmware_send)(int pfd, char *loader, size_t ls);
int (*stage3_command)(int fd);
int (*port_wrapup)(int fd, struct termios *term);
};