summaryrefslogtreecommitdiffstats
path: root/src/base/exor/exorCubes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/exor/exorCubes.c')
-rw-r--r--src/base/exor/exorCubes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/exor/exorCubes.c b/src/base/exor/exorCubes.c
index c8b40a82..197099d5 100644
--- a/src/base/exor/exorCubes.c
+++ b/src/base/exor/exorCubes.c
@@ -113,7 +113,7 @@ int AllocateCover( int nCubes, int nWordsIn, int nWordsOut )
pp[0] = (Cube *)ABC_ALLOC( char, TotalSize );
if ( pp[0] == NULL )
return 0;
- memset( pp[0], 0, TotalSize );
+ memset( pp[0], 0, (size_t)TotalSize );
// assign pointers to cubes and bit strings inside this piece
pp[0]->pCubeDataIn = (unsigned*)(pp[0] + 1);