]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
%d can't take the long long result.
authorMichael Jerris <mike@jerris.com>
Wed, 14 Feb 2007 20:15:51 +0000 (20:15 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 14 Feb 2007 20:15:51 +0000 (20:15 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4272 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/event_handlers/mod_cdr/csvcdr.cpp

index de439fb803b97ed65c326222377a665a279f9256..f00c4f325f6804b1626dbdc001850ed3d7b2a7c1 100644 (file)
@@ -182,7 +182,7 @@ void CsvCDR::connect(switch_xml_t& cfg, switch_xml_t& xml, switch_xml_t& setting
                        if(outputfile.good())
                        {
                                activated = 1;
-                               switch_console_printf(SWITCH_CHANNEL_LOG,"CsvCDR activated, log rotation will occur at or after %d MB\n",(filesize_limit/1024/1024));
+                               switch_console_printf(SWITCH_CHANNEL_LOG,"CsvCDR activated, log rotation will occur at or after %d MB\n",(int)(filesize_limit >> 20));
                        }
                }
                else