aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2012-02-09 14:40:12 +0100
committerSverker Eriksson <[email protected]>2012-02-21 12:23:08 +0100
commit7985815fc4c25c6bfc5d6101cd862138060098b9 (patch)
treef3e9a0b7e968dbe217edbe86011412ea84f4e6e4
parent64bcf5db63d73fe09298dac8cf5f6cad33fe7253 (diff)
downloadotp-7985815fc4c25c6bfc5d6101cd862138060098b9.tar.gz
otp-7985815fc4c25c6bfc5d6101cd862138060098b9.tar.bz2
otp-7985815fc4c25c6bfc5d6101cd862138060098b9.zip
erts: Fix type bug
-rw-r--r--erts/emulator/beam/beam_load.c2
-rw-r--r--erts/emulator/beam/global.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/beam_load.c b/erts/emulator/beam/beam_load.c
index cc4f5b5893..d3f55a2ba4 100644
--- a/erts/emulator/beam/beam_load.c
+++ b/erts/emulator/beam/beam_load.c
@@ -852,7 +852,7 @@ erts_alloc_loader_state(void)
* in the magic binary, or NIL if the binary does not contain
* prepared code.
*/
-int
+Eterm
erts_module_for_prepared_code(Binary* magic)
{
LoaderState* stp;
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 53a73fd762..6eac0db363 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -873,7 +873,7 @@ typedef struct {
} FunctionInfo;
Binary* erts_alloc_loader_state(void);
-int erts_module_for_prepared_code(Binary* magic);
+Eterm erts_module_for_prepared_code(Binary* magic);
Eterm erts_prepare_loading(Binary* loader_state, Process *c_p,
Eterm group_leader, Eterm* modp,
byte* code, Uint size);