Fix pointer type in CFCUri

Project: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/commit/8776f81f
Tree: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/tree/8776f81f
Diff: http://git-wip-us.apache.org/repos/asf/lucy-clownfish/diff/8776f81f

Branch: refs/heads/markdown_v2
Commit: 8776f81f91398469e41ddef09717963166577b78
Parents: 043989f
Author: Nick Wellnhofer <[email protected]>
Authored: Mon Dec 8 16:19:14 2014 +0100
Committer: Nick Wellnhofer <[email protected]>
Committed: Mon Dec 8 16:19:14 2014 +0100

----------------------------------------------------------------------
 compiler/src/CFCUri.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucy-clownfish/blob/8776f81f/compiler/src/CFCUri.c
----------------------------------------------------------------------
diff --git a/compiler/src/CFCUri.c b/compiler/src/CFCUri.c
index ce8b2cd..88f74b5 100644
--- a/compiler/src/CFCUri.c
+++ b/compiler/src/CFCUri.c
@@ -43,7 +43,7 @@ static void
 S_parse_uri(CFCUri *self, const char *str, CFCClass *klass);
 
 static char**
-S_split(const char *str, char c, int *num_parts_ptr);
+S_split(const char *str, char c, size_t *num_parts_ptr);
 
 int
 CFCUri_is_clownfish_uri(const char *uri) {
@@ -179,7 +179,7 @@ S_parse_uri(CFCUri *self, const char *uri, CFCClass *klass) 
{
 }
 
 static char**
-S_split(const char *str, char c, int *num_parts_ptr) {
+S_split(const char *str, char c, size_t *num_parts_ptr) {
     const char *ptr;
     int num_parts = 1;
 

Reply via email to