X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/feb5361ac535c09eb8dbda4cd25157c77764c287..408ea0b9ceafdc9f861701cfb14b57d09aa47777:/lookup.c diff --git a/lookup.c b/lookup.c index c3b4908..e5cd1ae 100644 --- a/lookup.c +++ b/lookup.c @@ -104,7 +104,7 @@ int main(int argc, char *argv[]) search = params[i+1]; params[i+1] = NULL; if (search != NULL) { - keyid = strtoul(search, &end, 16); + keyid = strtoull(search, &end, 16); if (*search != 0 && end != NULL && *end == 0) {