aboutsummaryrefslogtreecommitdiff
path: root/picohttp.c
diff options
context:
space:
mode:
authorWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-07-17 15:04:44 +0200
committerWolfgang Draxinger <Wolfgang.Draxinger@physik.uni-muenchen.de>2013-07-17 15:04:44 +0200
commit08e2fb421acd1684e57f79fd74b1eced4add6f3e (patch)
tree579c22e75579c5f3ba7379fde31392a902b08f16 /picohttp.c
parent8d66d3911d45e61956d7fe0ee4879482998d0a8e (diff)
downloadlitheweb-08e2fb421acd1684e57f79fd74b1eced4add6f3e.tar.gz
litheweb-08e2fb421acd1684e57f79fd74b1eced4add6f3e.tar.bz2
...
Diffstat (limited to 'picohttp.c')
-rw-r--r--picohttp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/picohttp.c b/picohttp.c
index f4c45bd..bc2f1f1 100644
--- a/picohttp.c
+++ b/picohttp.c
@@ -1247,7 +1247,7 @@ int picohttpMultipartRead(
* Probably a lot of code would be shared with the ...Getch variant
* and could be placed into a commonly used function.
*/
- uint16_t ch;
+ int16_t ch;
size_t i;
for(i = 0; i < len; i++) {
if( 0 > (ch = picohttpMultipartGetch(mp)) ) {