aboutsummaryrefslogtreecommitdiff
path: root/include/commands.h
diff options
context:
space:
mode:
authorprogandy <code@progandy>2016-08-04 14:37:54 +0200
committerprogandy <code@progandy>2016-08-04 14:37:54 +0200
commitbf4056a2c6e1cdbebe105cd4e80d2843e0030093 (patch)
treee20308d24c632ab4150ef432adb1428233bbf3bc /include/commands.h
parent5ec70458e5a840c5c85de46debdf7934d03d5904 (diff)
common: use strtoul in parse_color to avoid clamp
Some implementations of strtol may clamp the values to LONG_MAX instead of wrapping around to negative values, so use strtoul instead to parse colors.
Diffstat (limited to 'include/commands.h')
0 files changed, 0 insertions, 0 deletions