[Genabel-commits] r1618 - pkg/OmicABELnoMM/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Feb 18 18:33:21 CET 2014
Author: afrank
Date: 2014-02-18 18:33:21 +0100 (Tue, 18 Feb 2014)
New Revision: 1618
Modified:
pkg/OmicABELnoMM/src/Utility.cpp
Log:
Unsigned int error Fixed when printing to screen.
Modified: pkg/OmicABELnoMM/src/Utility.cpp
===================================================================
--- pkg/OmicABELnoMM/src/Utility.cpp 2014-02-18 17:17:25 UTC (rev 1617)
+++ pkg/OmicABELnoMM/src/Utility.cpp 2014-02-18 17:33:21 UTC (rev 1618)
@@ -36,7 +36,7 @@
type_precision* vec = (type_precision*)malloc(size*sizeof(type_precision));
if(vec==0)
{
- printf("\nNot enough RAM! %dMB\n",size*sizeof(type_precision)/1024/1024 );
+ printf("\nNot enough RAM! %dMB\n",(int)size*sizeof(type_precision)/1024/1024 );
//system("pause");
exit(1);
}
@@ -80,7 +80,7 @@
type_precision* vec = (type_precision*)malloc(size*sizeof(type_precision));
if(vec==0)
{
- printf("\nNot enough RAM! %dMB\n",size*sizeof(type_precision)/1024/1024 );
+ printf("\nNot enough RAM! %dMB\n",(int)size*sizeof(type_precision)/1024/1024 );
//system("pause");
exit(1);
}
More information about the Genabel-commits
mailing list