This website works better with JavaScript.
Home
Help
Sign In
nomis
/
lamp
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
fix: atol instead of atoi for long var
master
n0m1s
6 years ago
parent
b3517bc05e
commit
5fc2b1fe8f
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
clock_settings.cpp
+ 1
- 1
clock_settings.cpp
View File
@ -29,7 +29,7 @@ void ClockSettings::add_info(char const* key, char const* val)
}
else
if
(
string_equals
(
key
,
"
val
"
)
)
{
long
const
v
=
ato
i
(
val
)
;
long
const
v
=
ato
l
(
val
)
;
delete
[
]
val
;
if
(
v
>
UINT_MAX
)
Write
Preview
Loading…
Cancel
Save