Use signed in a bunch of places

This commit is contained in:
2025-08-23 20:52:40 -04:00
parent 23b0e7f39a
commit 94f78ebbe7
11 changed files with 41 additions and 37 deletions

View File

@@ -374,7 +374,7 @@ int HttpHandler::onHeaderValueComplete(llhttp_t *parser) {
// Check for X-Request-Id header
if (field.size() == 12 &&
strncasecmp(field.data(), "x-request-id", 12) == 0) {
uint64_t id = 0;
int64_t id = 0;
for (char c : value) {
if (c >= '0' && c <= '9') {
id = id * 10 + (c - '0');