diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-12-07 18:43:27 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-12-07 18:43:27 +0000 |
commit | 43f238f6dc32e1e12fff872e0957f4f6c5d6144a (patch) | |
tree | d769a8c3389f12a7829b6800d86d645d5b0b68a2 /apps | |
parent | 528ec2a55512679b5776df34d57f77a28bff3fc2 (diff) | |
download | rockbox-43f238f6dc32e1e12fff872e0957f4f6c5d6144a.tar.gz rockbox-43f238f6dc32e1e12fff872e0957f4f6c5d6144a.zip |
fix "warning: comparison between signed and unsigned"
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19359 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/gui/wps_parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/gui/wps_parser.c b/apps/gui/wps_parser.c index 22b161155e..e66543d8c7 100644 --- a/apps/gui/wps_parser.c +++ b/apps/gui/wps_parser.c | |||
@@ -753,7 +753,8 @@ static int parse_setting(const char *wps_bufptr, | |||
753 | if (settings[i].cfg_name && | 753 | if (settings[i].cfg_name && |
754 | !strncmp(settings[i].cfg_name,ptr,end-ptr) && | 754 | !strncmp(settings[i].cfg_name,ptr,end-ptr) && |
755 | /* prevent matches on cfg_name prefixes */ | 755 | /* prevent matches on cfg_name prefixes */ |
756 | strlen(settings[i].cfg_name)==end-ptr) break; | 756 | strlen(settings[i].cfg_name)==(size_t)(end-ptr)) |
757 | break; | ||
757 | if (i == nb_settings) | 758 | if (i == nb_settings) |
758 | return WPS_ERROR_INVALID_PARAM; | 759 | return WPS_ERROR_INVALID_PARAM; |
759 | 760 | ||