Initial development of R pacakge and merge with the modification from tqchen.
This commit is contained in:
hetong
2014-08-26 09:57:38 -07:00
4 changed files with 12 additions and 6 deletions

View File

@@ -213,7 +213,7 @@ extern "C" {
&olen);
FILE *fo = utils::FopenCheck(CHAR(asChar(fname)), "w");
for (size_t i = 0; i < olen; ++i) {
fprintf(fo, "booster[%lu]:\n", i);
fprintf(fo, "booster[%u]:\n", static_cast<unsigned>(i));
fprintf(fo, "%s", res[i]);
}
fclose(fo);