diff options
author | rikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-02-12 00:28:44 +0000 |
---|---|---|
committer | rikky <rikky@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-02-12 00:28:44 +0000 |
commit | d8b27c89d5eb56583802ad7bcfb3e925684b95f0 (patch) | |
tree | 29ec8b671c0007ccc61c661cbf3e1a9f198a4f8d /navit/file.c | |
parent | 19b7b84f4eb429eb5ced1c872d4f4df322dc922c (diff) | |
download | navit-d8b27c89d5eb56583802ad7bcfb3e925684b95f0.tar.gz |
Fix:core:Fix clang compiler warnings: signed/unsigned
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4138 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/file.c')
-rw-r--r-- | navit/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/file.c b/navit/file.c index 9ebdc9846..36e45a962 100644 --- a/navit/file.c +++ b/navit/file.c @@ -375,14 +375,14 @@ file_data_read(struct file *file, long long offset, int size) } static void -file_process_headers(struct file *file, char *headers) +file_process_headers(struct file *file, unsigned char *headers) { char *tok; char *cl; if (file->headers) g_hash_table_destroy(file->headers); file->headers=g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL); - while ((tok=strtok(headers, "\r\n"))) { + while ((tok=strtok((char*)headers, "\r\n"))) { char *sep; tok=g_strdup(tok); sep=strchr(tok,':'); |