diff options
Diffstat (limited to 'src/fs/fs_uri.c')
-rw-r--r-- | src/fs/fs_uri.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_uri.c b/src/fs/fs_uri.c index 0f4168918..98e9903c3 100644 --- a/src/fs/fs_uri.c +++ b/src/fs/fs_uri.c | |||
@@ -1906,7 +1906,7 @@ uri_ksk_to_string (const struct GNUNET_FS_Uri *uri) | |||
1906 | continue; /* skip leading space */ | 1906 | continue; /* skip leading space */ |
1907 | if (needs_percent (keyword[j])) | 1907 | if (needs_percent (keyword[j])) |
1908 | { | 1908 | { |
1909 | sprintf (&ret[wpos], "%%%02X", keyword[j]); | 1909 | sprintf (&ret[wpos], "%%%02X", (unsigned char) keyword[j]); |
1910 | wpos += 3; | 1910 | wpos += 3; |
1911 | } | 1911 | } |
1912 | else | 1912 | else |