diff options
author | progandy <code@progandy> | 2016-08-04 14:37:54 +0200 |
---|---|---|
committer | progandy <code@progandy> | 2016-08-04 14:37:54 +0200 |
commit | bf4056a2c6e1cdbebe105cd4e80d2843e0030093 (patch) | |
tree | e20308d24c632ab4150ef432adb1428233bbf3bc /include/lock | |
parent | 5ec70458e5a840c5c85de46debdf7934d03d5904 (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/lock')
0 files changed, 0 insertions, 0 deletions