summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/request.h b/request.h
index 9eb914c..b8edc81 100644
--- a/request.h
+++ b/request.h
@@ -33,7 +33,7 @@ inline void request(size_t (*writefunction)(void *, size_t, size_t, void *)
ival = va_arg(ap, unsigned int);
do {
length++;
- } while (ival / 10);
+ } while ((ival /= 10));
length -= 2;
break;
default: