Fix FTBFS with stricter C++11

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 6 years ago
parent 9f5e38c77e
commit 70a7fcb38d
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -289,7 +289,7 @@ public:
}
void processCommand(const MidiCommand& command)
{
char message[3] = { command.status, command.data1, command.data2 };
unsigned char message[3] = { command.status, command.data1, command.data2 };
int len = midiMsgLen(command.status);
if(midiMsgLen(command.status))

@ -81,7 +81,7 @@ int MpegVideoStream::isStartCode(unsigned int data) {
case SEQUENCE_ERROR_CODE:
case SYSTEM_HEADER_START_CODE:
case ISO_11172_END_CODE:
case EOF:
case (unsigned)EOF:
return true;
}
if ((SLICE_MIN_START_CODE < data) && (data < SLICE_MAX_START_CODE)) {

Loading…
Cancel
Save