diff options
author | David Robillard <d@drobilla.net> | 2011-02-25 18:57:41 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-25 18:57:41 +0000 |
commit | db3d269f19b0e1c3cb55f4d6e7ae6acb03eb94c6 (patch) | |
tree | a14491036405eb05ebe5469f6907dfabfc20a97f /src | |
parent | c114aef6c587ae5f594075c7aa37604b6dcbf6d4 (diff) | |
download | sord-db3d269f19b0e1c3cb55f4d6e7ae6acb03eb94c6.tar.gz sord-db3d269f19b0e1c3cb55f4d6e7ae6acb03eb94c6.tar.bz2 sord-db3d269f19b0e1c3cb55f4d6e7ae6acb03eb94c6.zip |
Use size_t for string lengths.
git-svn-id: http://svn.drobilla.net/sord/trunk@44 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src')
-rw-r--r-- | src/sord.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -848,7 +848,7 @@ sord_add_node(SordWorld world, SordNode node) } SordNode -sord_new_uri_counted(SordWorld world, const uint8_t* str, int str_len) +sord_new_uri_counted(SordWorld world, const uint8_t* str, size_t str_len) { SordNode node = sord_lookup_name(world, str, str_len); if (node) { @@ -868,7 +868,7 @@ sord_new_uri(SordWorld world, const uint8_t* str) } SordNode -sord_new_blank_counted(SordWorld world, const uint8_t* str, int str_len) +sord_new_blank_counted(SordWorld world, const uint8_t* str, size_t str_len) { SordNode node = sord_lookup_name(world, str, str_len); if (node) { @@ -889,7 +889,7 @@ sord_new_blank(SordWorld world, const uint8_t* str) SordNode sord_new_literal_counted(SordWorld world, SordNode type, - const uint8_t* str, int str_len, + const uint8_t* str, size_t str_len, const char* lang, uint8_t lang_len) { SordNode node = sord_lookup_literal(world, type, str, str_len, lang, lang_len); |