From 262b9f45b79516eb5608773b124245f9e9e1427c Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Sun, 4 Oct 2020 08:41:48 +0300 Subject: Generate projects with 32-bit support --- JSImpl/test/empty.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'JSImpl/test/empty.cpp') diff --git a/JSImpl/test/empty.cpp b/JSImpl/test/empty.cpp index 8bf7d13..a7e2aac 100644 --- a/JSImpl/test/empty.cpp +++ b/JSImpl/test/empty.cpp @@ -10,7 +10,7 @@ TEST(Empty, Empty) int get_op(int8_t *& PC) { return *(PC++); } -size_t get_arg(int8_t*& PC, int size) { +uint64_t get_arg(int8_t*& PC, int size) { switch (size) { case 0: return *(PC++); @@ -19,7 +19,7 @@ size_t get_arg(int8_t*& PC, int size) { case 2: return *(((unsigned int*&)PC)++); case 3: - return *(((size_t*&)PC)++); + return *(((uint64_t*&)PC)++); } return 0; } -- cgit v1.3.1-23-gd82d