aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth/synth-oper.adb
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth/synth-oper.adb')
-rw-r--r--src/synth/synth-oper.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-oper.adb b/src/synth/synth-oper.adb
index df04a8258..ca9782ed0 100644
--- a/src/synth/synth-oper.adb
+++ b/src/synth/synth-oper.adb
@@ -1358,7 +1358,7 @@ package body Synth.Oper is
if Is_Static_Val (Operand.Val) then
return Synth_Static_Monadic_Predefined
- (Syn_Inst, Imp, Operand, Loc);
+ (Syn_Inst, Imp, Get_Value_Memtyp (Operand), Loc);
end if;
case Def is