diff options
author | wm4 <wm4@nowhere> | 2013-09-04 13:37:38 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-09-04 13:37:38 +0200 |
commit | dbff29c81d3127d69e97abcf7001f4b798898a81 (patch) | |
tree | 8bd8d977772a569d95fc4897e59de144d7bee306 /mpvcore/playlist.c | |
parent | 266ce242c34ac0836934317b7cccb8f7b82b4108 (diff) | |
download | mpv-dbff29c81d3127d69e97abcf7001f4b798898a81.tar.bz2 mpv-dbff29c81d3127d69e97abcf7001f4b798898a81.tar.xz |
x11_common: don't allocate more than needed for icon
icon_size is the number of array items of type long, not bytes. Change
the type of icon_size to int, because size_t makes you think of byte
quantities too quickly.
As an unrelated change, change the (char *) cast to (unsigned char *),
because it matches the common XChangeProperty idiom better.
Diffstat (limited to 'mpvcore/playlist.c')
0 files changed, 0 insertions, 0 deletions