diff options
Diffstat (limited to 'stage3/clock.c')
-rw-r--r-- | stage3/clock.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/stage3/clock.c b/stage3/clock.c index 2513277..e2b9064 100644 --- a/stage3/clock.c +++ b/stage3/clock.c @@ -21,7 +21,11 @@ u64 ring_pos = 0; u64 last_cycles_ring[RING] = {0}; u64 last_sync_ring[RING] = {0}; double hd_drift = 0; + +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Woverflow" double hd_rate = 1e10000; +#pragma GCC diagnostic pop #define ADJ_TARGET SYNC_INTERVAL*RING #define MAX_OVERSHOOT ADJ_TARGET*2 |