From 81923acac7e38fc228d9f759b9d2c39a6b2b5de0 Mon Sep 17 00:00:00 2001 From: stan Date: Thu, 4 Mar 2004 15:16:44 +0000 Subject: [PATCH] Fixed bulk_frame_interval cast. git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@918 e3e1d417-86f3-4887-817a-d78f3d33393f --- src/zm_event.h | 2 +- src/zm_monitor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/zm_event.h b/src/zm_event.h index 9d6c0f8c0..2a51e65fa 100644 --- a/src/zm_event.h +++ b/src/zm_event.h @@ -66,7 +66,7 @@ protected: initialised = true; timestamp_on_capture = (bool)config.Item( ZM_TIMESTAMP_ON_CAPTURE ); - bulk_frame_interval = (bool)config.Item( ZM_BULK_FRAME_INTERVAL ); + bulk_frame_interval = (int)config.Item( ZM_BULK_FRAME_INTERVAL ); } public: diff --git a/src/zm_monitor.h b/src/zm_monitor.h index 8a7b2e7b7..5767c13ce 100644 --- a/src/zm_monitor.h +++ b/src/zm_monitor.h @@ -153,7 +153,7 @@ protected: create_analysis_images = (bool)config.Item( ZM_CREATE_ANALYSIS_IMAGES ); blend_alarmed_images = (bool)config.Item( ZM_BLEND_ALARMED_IMAGES ); timestamp_on_capture = (bool)config.Item( ZM_TIMESTAMP_ON_CAPTURE ); - bulk_frame_interval = (bool)config.Item( ZM_BULK_FRAME_INTERVAL ); + bulk_frame_interval = (int)config.Item( ZM_BULK_FRAME_INTERVAL ); } public: