Skip to content

Commit eac4eb3

Browse files
committed
Force Time'Size to 64 bits.
* common/a-reatim.ads (Time): use "for Time'Size" to force the size to 64 bits (52 bits used otherwise, since Tie was changed to be >= 0.0).
1 parent 4b25f1d commit eac4eb3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

common/a-reatim.ads

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ private
155155
-- FreeRTOSConfig.h has set configTICK_RATE_HZ to 1000
156156

157157
type Time is new Time_Base range 0.0 .. (2 ** 32 - 1) * FreeRTOS_Tick;
158+
for Time'Size use 64;
158159
-- and configUSE_16_BIT_TICKS to 0 (so we get 32-bit clock values).
159160

160161
Time_First : constant Time := Time'First;

0 commit comments

Comments
 (0)