From 23be1b1cae8e4268ca592f481e7ef7cd20b10485 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Sun, 5 Oct 2025 23:10:00 +0200 Subject: [PATCH] explicit conversion to int added --- src/coparun/runmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coparun/runmem.c b/src/coparun/runmem.c index 3522358..df809bc 100644 --- a/src/coparun/runmem.c +++ b/src/coparun/runmem.c @@ -39,7 +39,7 @@ int update_data_offs() { perror("Error: code and data memory to far apart"); return 0; } - data_offs = data_memory - executable_memory; + data_offs = (int)(data_memory - executable_memory); return 1; }