diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-07-16 14:44:21 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-07-16 14:44:21 +0000 |
commit | 196582304c338d0e690f724ee1def6adec2b401b (patch) | |
tree | d11da1d2ecb16803e0074676c8dd41115b9f69a7 /gpsflash.h | |
parent | c914c2ddd46d397017baff585f8f71e2311e3cff (diff) | |
download | gpsd-196582304c338d0e690f724ee1def6adec2b401b.tar.gz |
Restore some lost splint cleanups. Stronger regression tests.
Diffstat (limited to 'gpsflash.h')
-rw-r--r-- | gpsflash.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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); }; |