Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / test / empty.cpp
diff options
context:
space:
mode:
Commit262b9f45b79516eb5608773b124245f9e9e1427c (patch)
Author
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-10-04 08:41:48 +0300
Committer
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-10-05 22:13:47 +0300
Files57f83dd0e48905b9412f8ecfbdd65ddf71d90972 /JSImpl/test/empty.cpp
IPL-262b9f45b79516eb5608773b124245f9e9e1427c.tar
IPL-262b9f45b79516eb5608773b124245f9e9e1427c.tar.gz
IPL-262b9f45b79516eb5608773b124245f9e9e1427c.zip
Parentf0ec022bd08e02ff176a9f029eb3551915b30b55 (diff)
Generate projects with 32-bit support
1 files changed, 2 insertions, 2 deletions
-rw-r--r--JSImpl/test/empty.cpp4
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;
}