sb->format.channels = in_format->channels;
sb->format.width = in_format->width;
sb->format.speed = sb_speed;
- sb->maxframes = newsampleframes;
+ sb->maxframes = (unsigned int)newsampleframes;
sb->nbframes = 0;
if (!Snd_AppendToSndBuffer (sb, samples, sampleframes, in_format))
}
}
- sb->nbframes += outcount;
+ sb->nbframes += (unsigned int)outcount;
return true;
}