Files
mop3/libu/strconv.c
kamkow1 c8fb575bdd
All checks were successful
Build ISO image / build-and-deploy (push) Successful in 2m7s
Build documentation / build-and-deploy (push) Successful in 39s
Change formatting rules
2026-04-24 01:54:48 +02:00

16 lines
197 B
C

#include <stdint.h>
uint64_t str_to_uint64(const char* s) {
uint64_t r = 0;
if (!s)
return 0;
while (*s >= '0' && *s <= '9') {
r = r * 10 + (*s - '0');
s++;
}
return r;
}