You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-crypt/onak/files/onak-0.5.0-musl-strtouq-fix...

16 lines
353 B

Bug: https://bugs.gentoo.org/894352
--- a/onak.c
+++ b/onak.c
@@ -337,7 +337,11 @@ int main(int argc, char *argv[])
}
isfp = true;
} else if (search != NULL) {
+#if defined(__GLIBC__)
keyid = strtouq(search, &end, 16);
+#else
+ keyid = strtoull(search, &end, 16);
+#endif
if (*search != 0 &&
end != NULL &&
*end == 0) {