change uint64_t to depend on utils
This commit is contained in:
parent
3e5cb25830
commit
d00f27dc6b
@ -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);
|
||||
|
||||
@ -7,8 +7,7 @@
|
||||
* can be used to create wrapper of other languages
|
||||
*/
|
||||
#include <cstdio>
|
||||
// define uint64_t to be unsigned long
|
||||
typedef unsigned long uint64_t;
|
||||
#include "../src/utils/utils.h"
|
||||
#define XGB_DLL
|
||||
|
||||
extern "C" {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user