From 30b3fa8a8b50f9434c868d8452d3dbac0e5ff489 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 28 Apr 2016 12:57:38 -0400 Subject: [PATCH] add a cast to help the compile figure out which function to use --- src/zm_monitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_monitor.cpp b/src/zm_monitor.cpp index 7c0225e9f..fe3b62f2c 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -1125,7 +1125,7 @@ void Monitor::DumpZoneImage( const char *zone_string ) { Debug( 3, "Got event %d", event_id ); EventStream *stream = new EventStream(); - stream->setStreamStart( event_id, 1 ); + stream->setStreamStart( event_id, (unsigned int)1 ); zone_image = stream->getImage(); } else { Error("Unable to load an event for monitor %d", id );