summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-03-07 16:17:15 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-03-07 16:17:15 +0000
commit15c415c47375e4614add3889491c0f3d98fcecf4 (patch)
treecfb10cffe84a1e26237e8cc0bbc76226ed0e496e /src
parent02404a0d9196f29982b8e0990796abbfe061d4fe (diff)
Explicit cast as required by NEC compiler.
Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@1439 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r--src/main/Groups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/Groups.c b/src/main/Groups.c
index 9684670f..cff1db9e 100644
--- a/src/main/Groups.c
+++ b/src/main/Groups.c
@@ -1558,7 +1558,7 @@ static CCTK_INT **CCTKi_ExtractSize(int dimension, const char *thorn, const char
if(next_comma)
{
- strncpy(tmp, last_comma, (next_comma-last_comma));
+ strncpy(tmp, last_comma, (size_t)(next_comma-last_comma));
tmp[next_comma-last_comma] = '\0';
}
else