X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/feb5361ac535c09eb8dbda4cd25157c77764c287..e1385087ec060568a966a5305a9d88c24a2a0a55:/lookup.c?ds=sidebyside 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) {