aboutsummaryrefslogtreecommitdiff
path: root/kernel/csymtable.ml
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/csymtable.ml')
-rw-r--r--kernel/csymtable.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/csymtable.ml b/kernel/csymtable.ml
index 58a5bf3278..145ca27d2e 100644
--- a/kernel/csymtable.ml
+++ b/kernel/csymtable.ml
@@ -102,7 +102,7 @@ let slot_for_str_cst key =
let slot_for_annot key =
try Hashtbl.find annot_tbl key
with Not_found ->
- let n = set_global (Obj.magic key) in
+ let n = set_global (val_of_annot_switch key) in
Hashtbl.add annot_tbl key n;
n