change uint64_t to depend on utils

This commit is contained in:
Tianqi Chen
2014-08-26 20:08:13 -07:00
parent 3e5cb25830
commit d00f27dc6b
2 changed files with 2 additions and 3 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);