summaryrefslogtreecommitdiff
path: root/src/binaryen-c.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/binaryen-c.cpp')
-rw-r--r--src/binaryen-c.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/binaryen-c.cpp b/src/binaryen-c.cpp
index 4e5ad22f1..1cdddfdc8 100644
--- a/src/binaryen-c.cpp
+++ b/src/binaryen-c.cpp
@@ -3623,8 +3623,8 @@ uint32_t BinaryenGetNumMemorySegments(BinaryenModuleRef module) {
auto* wasm = (Module*)module;
return wasm->memory.segments.size();
}
-int64_t BinaryenGetMemorySegmentByteOffset(BinaryenModuleRef module,
- BinaryenIndex id) {
+uint32_t BinaryenGetMemorySegmentByteOffset(BinaryenModuleRef module,
+ BinaryenIndex id) {
if (tracing) {
std::cout << " BinaryenGetMemorySegmentByteOffset(the_module, " << id
<< ");\n";