summaryrefslogtreecommitdiffstats
path: root/byterun/startup.c
diff options
context:
space:
mode:
Diffstat (limited to 'byterun/startup.c')
-rw-r--r--byterun/startup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/startup.c b/byterun/startup.c
index ebd5d6bdf..98a08b2d4 100644
--- a/byterun/startup.c
+++ b/byterun/startup.c
@@ -340,7 +340,7 @@ void caml_startup_code(code, code_size, data, argv)
thread_code(start_code, code_size);
#endif
/* Load the globals */
- global_data = Field(input_value_from_string((value)data, Val_int(0)), 0);
+ global_data = input_value_from_string((value)data, Val_int(0));
/* Ensure that the globals are in the major heap. */
oldify(global_data, &global_data);
/* Run the code */