minor fixes:

- Video.cpp: treating warnings as errors, missing return NULL in video thread
- Makefile: added -ltinfo due to missing references
This commit is contained in:
icex2 2016-02-08 14:26:27 +01:00 committed by icex2
parent f4991cbb97
commit 705e8acafb
2 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
all: dvdemu all: dvdemu
dvdemu: DVDEmu.cpp DVDEmu.h Serial.cpp Serial.h Video.cpp Video.h Toshiba_SD-B100.cpp Toshiba_SD-B100.h Victor_XV-D701.cpp Victor_XV-D701.h dvdemu: DVDEmu.cpp DVDEmu.h Serial.cpp Serial.h Video.cpp Video.h Toshiba_SD-B100.cpp Toshiba_SD-B100.h Victor_XV-D701.cpp Victor_XV-D701.h
g++ -Wall -Werror -D_BSD_SOURCE -pthread -lcurses -o dvdemu DVDEmu.cpp Serial.cpp Video.cpp Toshiba_SD-B100.cpp Victor_XV-D701.cpp -ggdb g++ -Wall -Werror -D_BSD_SOURCE -pthread -ltinfo -lcurses -o dvdemu DVDEmu.cpp Serial.cpp Video.cpp Toshiba_SD-B100.cpp Victor_XV-D701.cpp -ggdb
.DUMMY: clean .DUMMY: clean
clean: clean:

View File

@ -133,6 +133,8 @@ void *VideoThread( void *state )
usleep( 10000 ); usleep( 10000 );
} }
} }
return NULL;
} }
void VideoThreadAction( unsigned int opcode, unsigned int argument ) void VideoThreadAction( unsigned int opcode, unsigned int argument )