From 3840399f194963e367eb9ea708a2c31f013534c9 Mon Sep 17 00:00:00 2001 From: Guolin Ke Date: Mon, 21 May 2018 10:58:45 +0800 Subject: [PATCH] Update R_object_helper.h --- 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