X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fhttp_command.c;h=deed7337932d747f2542b78fc645967c90771939;hb=e39914556c10a64bf415460afe77a18737203fd1;hp=004abba45be2d761b38814a237318a33e4d6c252;hpb=6110a4dcdf8f269968c6a30792f47dacba3929b6;p=pazpar2-moved-to-github.git diff --git a/src/http_command.c b/src/http_command.c index 004abba..deed733 100644 --- a/src/http_command.c +++ b/src/http_command.c @@ -1009,7 +1009,7 @@ static void show_record(struct http_channel *c, struct http_session *s) if (checksumstr) { - long v = atol(checksumstr); + unsigned v = strtoul(checksumstr, 0, 10); for (i = 0; r; r = r->next) if (v == r->checksum) break;