[Genabel-commits] r1109 - pkg/ProbABEL/src
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Feb 25 23:31:37 CET 2013
Author: lckarssen
Date: 2013-02-25 23:31:37 +0100 (Mon, 25 Feb 2013)
New Revision: 1109
Modified:
pkg/ProbABEL/src/gendata.cpp
Log:
Fixed two compiler warnings about comparison of unsigned and signed
int.
Modified: pkg/ProbABEL/src/gendata.cpp
===================================================================
--- pkg/ProbABEL/src/gendata.cpp 2013-02-23 18:24:45 UTC (rev 1108)
+++ pkg/ProbABEL/src/gendata.cpp 2013-02-25 22:31:37 UTC (rev 1109)
@@ -159,7 +159,7 @@
infile >> tmpstr;
}
- for (int j = 0; j < (nsnps * ngpreds); j++)
+ for (unsigned int j = 0; j < (nsnps * ngpreds); j++)
{
if (infile.good())
{
@@ -185,7 +185,7 @@
{
for (int j = 0; j < skipd; j++)
infile >> tmpstr;
- for (int j = 0; j < (nsnps * ngpreds); j++)
+ for (unsigned int j = 0; j < (nsnps * ngpreds); j++)
infile >> tmpstr;
}
}
More information about the Genabel-commits
mailing list