mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
fix gcc-4 warnings
This commit is contained in:
parent
13e8b00da5
commit
a2f0cd94e8
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue