diff options
author | Max Kellermann <max@duempel.org> | 2008-03-26 10:37:27 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-03-26 10:37:27 +0000 |
commit | 54b544c2f4c0b5425d6ff12596a9e82fd8d783d2 (patch) | |
tree | 3d603f8b90ce5f5f8f7af247ccd95437adc32056 /src/stats.c | |
parent | b546bcfec63822ad3bf3ae4ee71472dfa3aac010 (diff) | |
download | mpd-54b544c2f4c0b5425d6ff12596a9e82fd8d783d2.tar.gz mpd-54b544c2f4c0b5425d6ff12596a9e82fd8d783d2.tar.xz mpd-54b544c2f4c0b5425d6ff12596a9e82fd8d783d2.zip |
parse/initialize with the correct data type
When we expect an integer as result, why would we use the double
precision floating point parser? strtol() is a better match, although
we should probably check for overflows...
git-svn-id: https://svn.musicpd.org/mpd/trunk@7198 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/stats.c')
0 files changed, 0 insertions, 0 deletions