Well... forgot to change a type of a returning num variable in day 5 and 6. xD

This commit is contained in:
Alexander Andreev 2023-12-07 01:05:18 +04:00
parent 0760a2d627
commit 3fad087730
Signed by: Arav
GPG Key ID: D22A817D95815393
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ int main(int argc, char **argv) {
}
inline uint64_t parse_number(const char *end) {
int64_t num = 0;
uint64_t num = 0;
for (size_t m = 1;; m *= 10) {
if (*end>>4 != 0x3)

View File

@ -97,7 +97,7 @@ int main(int argc, char **argv) {
}
inline uint64_t parse_number(const char *end) {
int64_t num = 0;
uint64_t num = 0;
for (size_t m = 1;; m *= 10) {
if (*end>>4 != 0x3)