map

minimalistic audio player
git clone https://porkepik.fr/map
Log | Files | Refs | README | LICENSE

commit 7b1aedde6dfe8007a78106c4efab9e3f07f360cc
parent 1f62165c9d44416ddb52eddfb7018106ba1d87d9
Author: Thomas Philippe <dev@porkepik.fr>
Date:   Thu, 22 Aug 2019 22:41:26 +0200

cast: unsigned -> unsigned long

Diffstat:
Mmap.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/map.c b/map.c @@ -107,7 +107,7 @@ display_tracks(char **lines, int nb_lines, int start_index) if (i == nb_lines) break; line_len = strlen(lines[i]); - if (line_len > (unsigned) cols) + if (line_len > (unsigned long) cols) line_len = cols; buf = realloc(buf, buf_len + line_len); strncpy(&buf[buf_len], lines[i], line_len);