diff options
author | Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | 2011-01-28 20:36:42 +0200 |
---|---|---|
committer | Mikhail Zabaluev <mikhail.zabaluev@nokia.com> | 2011-01-28 20:57:04 +0200 |
commit | 68b99ed09a29fa567d0a49789389ba8b545d0226 (patch) | |
tree | c7ba0777125b245c0ba08baf49058a2b18bd6d28 | |
parent | caf244b6d1b38cc42291ce0697374fae6f5a4148 (diff) |
Changed the size parameter type to signed in tpsip_unquote_string()
The special value of -1 implies that the type should be signed.
-rw-r--r-- | tpsip/util.c | 2 | ||||
-rw-r--r-- | tpsip/util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tpsip/util.c b/tpsip/util.c index ae91934..ee7642c 100644 --- a/tpsip/util.c +++ b/tpsip/util.c @@ -116,7 +116,7 @@ tpsip_quote_string (const gchar *src) * The string is to be freed with g_free(). */ gchar * -tpsip_unquote_string (const gchar *src, gsize len) +tpsip_unquote_string (const gchar *src, gssize len) { gchar *res; gchar *p; diff --git a/tpsip/util.h b/tpsip/util.h index df52f2d..10960e2 100644 --- a/tpsip/util.h +++ b/tpsip/util.h @@ -27,7 +27,7 @@ G_BEGIN_DECLS gchar * tpsip_quote_string (const gchar *src); -gchar * tpsip_unquote_string (const gchar *src, gsize len); +gchar * tpsip_unquote_string (const gchar *src, gssize len); void tpsip_string_append_quoted (GString *buf, const gchar *text); |