summaryrefslogtreecommitdiff
path: root/rpmio
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2007-12-14 11:38:20 +0200
committerPanu Matilainen <pmatilai@redhat.com>2007-12-14 11:38:20 +0200
commit8946859700432de2f8462b672a7d3d3790b09a76 (patch)
tree89f361c7cae5d61e475a76fe675ccaff53e6fcf4 /rpmio
parent00eea2ffa02db546dac707f4f32595f915062a1d (diff)
downloadlibrpm-tizen-8946859700432de2f8462b672a7d3d3790b09a76.tar.gz
librpm-tizen-8946859700432de2f8462b672a7d3d3790b09a76.tar.bz2
librpm-tizen-8946859700432de2f8462b672a7d3d3790b09a76.zip
More size_t type pedantry
Diffstat (limited to 'rpmio')
-rw-r--r--rpmio/rpmstring.c2
-rw-r--r--rpmio/rpmstring.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/rpmio/rpmstring.c b/rpmio/rpmstring.c
index dae235949..64df1f918 100644
--- a/rpmio/rpmstring.c
+++ b/rpmio/rpmstring.c
@@ -24,7 +24,7 @@ char * stripTrailingChar(char * s, char c)
return s;
}
-char ** splitString(const char * str, int length, char sep)
+char ** splitString(const char * str, size_t length, char sep)
{
const char * source;
char * s, * dest;
diff --git a/rpmio/rpmstring.h b/rpmio/rpmstring.h
index 6b2d3ca79..a26a90f2f 100644
--- a/rpmio/rpmstring.h
+++ b/rpmio/rpmstring.h
@@ -90,7 +90,7 @@ int xstrncasecmp(const char *s1, const char * s2, size_t n) ;
* @param sep separator character
* @return (malloc'd) argv array
*/
-char ** splitString(const char * str, int length, char sep);
+char ** splitString(const char * str, size_t length, char sep);
/** \ingroup rpmstring
* Free split string argv array.