From a2f0cd94e8141a23860947361401d464bf4e4300 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 15 Jun 2005 22:20:40 +0000 Subject: [PATCH] fix gcc-4 warnings --- libs/audio/renderer/flac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/audio/renderer/flac.c b/libs/audio/renderer/flac.c index 4f226e03e..ebacbd22d 100644 --- a/libs/audio/renderer/flac.c +++ b/libs/audio/renderer/flac.c @@ -429,9 +429,9 @@ get_info (flacfile_t *ff) for (i = 0, ve = vc->comments; i < vc->num_comments; ve++, i++) { Sys_DPrintf ("%.*s\n", ve->length, ve->entry); - if (strncmp ("CUEPOINT=", ve->entry, 9) == 0) { + if (strncmp ("CUEPOINT=", (char *) ve->entry, 9) == 0) { char *str = alloca (ve->length + 1); - strncpy (str, ve->entry, ve->length); + strncpy (str, (char *) ve->entry, ve->length); str[ve->length] = 0; sscanf (str + 9, "%d %d", &sample_start, &sample_count); }