diff options
author | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-06-20 14:06:09 +0000 |
---|---|---|
committer | allen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-06-20 14:06:09 +0000 |
commit | 5a9cbb443145fd0983646377906125daa6904642 (patch) | |
tree | 517bd8ca7c9320ade3f739ad170a5b6238a5b162 /src/main/SetupCache.c | |
parent | a21b899e4f32882635fb5cf58bfb4d36b055d0cf (diff) |
Some int's which should have been CCTK_INTs ... thanks Ryoji
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1685 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/SetupCache.c')
-rw-r--r-- | src/main/SetupCache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/SetupCache.c b/src/main/SetupCache.c index f99a2254..e1d400e3 100644 --- a/src/main/SetupCache.c +++ b/src/main/SetupCache.c @@ -50,14 +50,14 @@ int CCTKi_SetupCache(void) unsigned long cache_size; unsigned long cacheline_bytes; - manual_cache_setup = (*(int *)CCTK_ParameterGet("manual_cache_setup", + manual_cache_setup = (*(CCTK_INT *)CCTK_ParameterGet("manual_cache_setup", "Cactus",¶m_type)); if(manual_cache_setup) { - cache_size = (*(int *)CCTK_ParameterGet("manual_cache_size", + cache_size = (*(CCTK_INT *)CCTK_ParameterGet("manual_cache_size", "Cactus",¶m_type)); - cacheline_bytes = (*(int *)CCTK_ParameterGet("manual_cacheline_bytes", + cacheline_bytes = (*(CCTK_INT *)CCTK_ParameterGet("manual_cacheline_bytes", "Cactus",¶m_type)); } else |