From 3f54429cbf84c3d3f18077a242245763a91df477 Mon Sep 17 00:00:00 2001 From: Guolin Ke Date: Mon, 21 May 2018 17:58:29 +0800 Subject: [PATCH] Update R_object_helper.h (#1386) --- include/LightGBM/R_object_helper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/LightGBM/R_object_helper.h b/include/LightGBM/R_object_helper.h index 21f6948b7b27..fb0ce1e64c73 100644 --- a/include/LightGBM/R_object_helper.h +++ b/include/LightGBM/R_object_helper.h @@ -33,7 +33,7 @@ struct lgbm_sxpinfo { // 64bit pointer #if INTPTR_MAX == INT64_MAX -typedef ptrdiff_t R_xlen_t; +typedef int64_t R_xlen_t; #else typedef int R_xlen_t; #endif