mirror of
https://github.com/sanni/cartreader.git
synced 2024-12-24 03:51:54 +01:00
Corrected type
This commit is contained in:
parent
cf477ee629
commit
8c21071b99
@ -15,7 +15,7 @@ int32_t atoi32_signed(const char* input_string) {
|
||||
i = 1;
|
||||
}
|
||||
|
||||
int64_t return_val = 0;
|
||||
int32_t return_val = 0;
|
||||
|
||||
while (input_string[i] != '\0') {
|
||||
if (input_string[i] >= '0' && input_string[i] <= '9') {
|
||||
@ -39,7 +39,7 @@ uint32_t atoi32_unsigned(const char* input_string) {
|
||||
|
||||
int i = 0;
|
||||
|
||||
uint64_t return_val = 0;
|
||||
uint32_t return_val = 0;
|
||||
|
||||
while (input_string[i] != '\0') {
|
||||
if (input_string[i] >= '0' && input_string[i] <= '9') {
|
||||
|
Loading…
Reference in New Issue
Block a user