add a cast to help the compile figure out which function to use

This commit is contained in:
Isaac Connor 2016-04-28 12:57:38 -04:00
parent 1096461793
commit 30b3fa8a8b
1 changed files with 1 additions and 1 deletions

View File

@ -1125,7 +1125,7 @@ void Monitor::DumpZoneImage( const char *zone_string ) {
Debug( 3, "Got event %d", event_id ); Debug( 3, "Got event %d", event_id );
EventStream *stream = new EventStream(); EventStream *stream = new EventStream();
stream->setStreamStart( event_id, 1 ); stream->setStreamStart( event_id, (unsigned int)1 );
zone_image = stream->getImage(); zone_image = stream->getImage();
} else { } else {
Error("Unable to load an event for monitor %d", id ); Error("Unable to load an event for monitor %d", id );