mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-25 19:02:07 -05:00
Utilities: Fix const-correctness inside seq
This commit is contained in:
parent
d76987be96
commit
875116c3e5
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ static double get_double(const char* name, const char* d_string, int* number_of_
|
|||
print_usage(stderr);
|
||||
exit(1);
|
||||
}
|
||||
if (char* dot = strchr(d_string, '.'))
|
||||
if (const char* dot = strchr(d_string, '.'))
|
||||
*number_of_decimals = strlen(dot + 1);
|
||||
else
|
||||
*number_of_decimals = 0;
|
||||
|
|
Loading…
Add table
Reference in a new issue