From f9b9865956ab37612d30f80ed144c619d3d05f82 Mon Sep 17 00:00:00 2001 From: Eduardo Elael Date: Tue, 5 Apr 2022 11:42:09 +0200 Subject: [PATCH] (fix) cplusplus constant type (#525) Adjust the ETL variable type to match C++'s. --- include/etl/platform.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/etl/platform.h b/include/etl/platform.h index ac67fdd3..15eb018e 100644 --- a/include/etl/platform.h +++ b/include/etl/platform.h @@ -377,7 +377,7 @@ namespace etl static ETL_CONSTANT bool has_mutable_array_view = (ETL_HAS_MUTABLE_ARRAY_VIEW == 1); static ETL_CONSTANT bool has_ideque_repair = (ETL_HAS_IDEQUE_REPAIR == 1); static ETL_CONSTANT bool is_debug_build = (ETL_IS_DEBUG_BUILD == 1); - static ETL_CONSTANT int cplusplus = __cplusplus; + static ETL_CONSTANT long cplusplus = __cplusplus; } }