Website Summary Files Commits Branches @commit @diff @stats
path: root / JSImpl / test / empty.cpp
diff options
context:
space:
mode:
Commit1d7dc2c166de587581766f701ad071e5da7c3eec (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2020-10-06 11:39:58 +0300
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2020-10-06 11:39:58 +0300
Files3b022445897fc6278e0e011dbc18b9b04020103c /JSImpl/test/empty.cpp
IPL-1d7dc2c166de587581766f701ad071e5da7c3eec.tar
IPL-1d7dc2c166de587581766f701ad071e5da7c3eec.tar.gz
IPL-1d7dc2c166de587581766f701ad071e5da7c3eec.zip
Parentd4758752cb0b76c1a4e87d7e2a211bc5ad53bd0d (diff)
Parent6f5cc33f6de1e2bf7dbee5e205ff5c53b47eea0e (diff)
Merge branch 'feature/32bit' into master
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;
}