From db97cf2cc8f4aed38995cb83ed88afe353aea601 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Wed, 6 Jun 2007 18:38:23 +0000 Subject: [PATCH] Fixed Linux build --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40895 --- core/smn_core.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/smn_core.cpp b/core/smn_core.cpp index 03f3b9684..7f6758806 100644 --- a/core/smn_core.cpp +++ b/core/smn_core.cpp @@ -272,7 +272,7 @@ static cell_t GetSysTickCount(IPluginContext *pContext, const cell_t *params) tms tm; clock_t ticks = times(&tm); long ticks_per_sec = sysconf(_SC_CLK_TCK); - double ftcks = (double)ticks / (double)ticks_per_sec; + double fticks = (double)ticks / (double)ticks_per_sec; fticks *= 1000.0f; if (fticks > INT_MAX) {