diff options
author | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-17 20:16:30 +0000 |
---|---|---|
committer | lresende <lresende@13f79535-47bb-0310-9956-ffa450edef68> | 2010-09-17 20:16:30 +0000 |
commit | 65ed45b9687cc651a07e7f7ea98dc41d57d5869e (patch) | |
tree | d35c5523e4678244c50a06ab1a78ab0b417b975a | |
parent | fa70ee00ab6f90c8988e03e05ef3050bcda5ec31 (diff) |
Fixing compilation issues in 64Bit environment
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@998301 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | sca-cpp/trunk/modules/server/mod-eval.hpp | 2 | ||||
-rw-r--r-- | 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; |