aboutsummaryrefslogtreecommitdiffstats
path: root/src/synth
diff options
context:
space:
mode:
Diffstat (limited to 'src/synth')
-rw-r--r--src/synth/synth-static_oper.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synth/synth-static_oper.adb b/src/synth/synth-static_oper.adb
index 2b24d5ec0..7fa3a86fc 100644
--- a/src/synth/synth-static_oper.adb
+++ b/src/synth/synth-static_oper.adb
@@ -288,7 +288,7 @@ package body Synth.Static_Oper is
Res_Typ);
when Iir_Predefined_Floating_Exp =>
return Create_Memory_Fp64
- (Read_Fp64 (Left) ** Natural (Read_Discrete (Right)), Res_Typ);
+ (Read_Fp64 (Left) ** Integer (Read_Discrete (Right)), Res_Typ);
when Iir_Predefined_Array_Array_Concat =>
declare