From 65ed45b9687cc651a07e7f7ea98dc41d57d5869e Mon Sep 17 00:00:00 2001 From: lresende Date: Fri, 17 Sep 2010 20:16:30 +0000 Subject: Fixing compilation issues in 64Bit environment git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998301 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/modules/server/mod-eval.hpp | 2 +- sca-cpp/trunk/modules/server/mod-wiring.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sca-cpp/trunk/modules/server/mod-eval.hpp b/sca-cpp/trunk/modules/server/mod-eval.hpp index e048c99a56..c01178cab3 100644 --- a/sca-cpp/trunk/modules/server/mod-eval.hpp +++ b/sca-cpp/trunk/modules/server/mod-eval.hpp @@ -714,7 +714,7 @@ int postConfig(apr_pool_t *p, unused apr_pool_t *plog, unused apr_pool_t *ptemp, // Count the calls to post config const string k("tuscany::modeval::postConfig"); - const int count = (int)httpd::userData(k, s); + const long int count = (long int)httpd::userData(k, s); httpd::putUserData(k, (void*)(count + 1), s); // Count == 0, do nothing as post config is always called twice, diff --git a/sca-cpp/trunk/modules/server/mod-wiring.cpp b/sca-cpp/trunk/modules/server/mod-wiring.cpp index 1a7105013c..67b179e7a1 100644 --- a/sca-cpp/trunk/modules/server/mod-wiring.cpp +++ b/sca-cpp/trunk/modules/server/mod-wiring.cpp @@ -375,7 +375,7 @@ int postConfig(apr_pool_t *p, unused apr_pool_t *plog, unused apr_pool_t *ptemp, // Count the calls to post config, skip the first one as // postConfig is always called twice const string k("tuscany::modwiring::postConfig"); - const int count = (int)httpd::userData(k, s); + const long int count = (long int)httpd::userData(k, s); httpd::putUserData(k, (void*)(count + 1), s); if (count == 0) return OK; -- cgit v1.2.3