From: <kin...@us...> - 2008-11-22 20:27:54
|
Revision: 4011 http://teem.svn.sourceforge.net/teem/?rev=4011&view=rev Author: kindlmann Date: 2008-11-22 20:27:48 +0000 (Sat, 22 Nov 2008) Log Message: ----------- finishing int->size_t fix, removed (int) cast where now unneeded Modified Paths: -------------- teem/trunk/src/nrrd/write.c Modified: teem/trunk/src/nrrd/write.c =================================================================== --- teem/trunk/src/nrrd/write.c 2008-11-22 20:26:34 UTC (rev 4010) +++ teem/trunk/src/nrrd/write.c 2008-11-22 20:27:48 UTC (rev 4011) @@ -690,7 +690,7 @@ } else if (nio->dataFNArr->len > 1) { maxl = 0; for (ii=0; ii<nio->dataFNArr->len; ii++) { - maxl = AIR_MAX(maxl, (int)strlen(nio->dataFN[ii])); + maxl = AIR_MAX(maxl, strlen(nio->dataFN[ii])); } *strP = (char *)calloc(fslen + strlen(NRRD_LIST_FLAG) + uintStrlen + nio->dataFNArr->len * (maxl + 1), This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |