From d8487da522f6f200bdf05a3ef212ef0ff6879da8 Mon Sep 17 00:00:00 2001 From: mstroh76 Date: Sun, 8 Sep 2024 19:11:49 +0200 Subject: [PATCH] #282 compiler warnings --- examples/clock.c | 2 +- examples/delayTest.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/clock.c b/examples/clock.c index 5ca98fd..a6b6567 100644 --- a/examples/clock.c +++ b/examples/clock.c @@ -65,7 +65,7 @@ void drawClockHands (void) struct tm *now ; double angle, p, x0, y0, x1, y1 ; int h24, h, m, s ; - char text [20] ; + char text [40] ; time (&t) ; now = localtime (&t) ; diff --git a/examples/delayTest.c b/examples/delayTest.c index 16245c3..af74e9f 100644 --- a/examples/delayTest.c +++ b/examples/delayTest.c @@ -37,7 +37,7 @@ int main() int t ; int max, min ; int del ; - int underRuns, overRuns, exactRuns, bogusRuns, total ; + int underRuns, overRuns, exactRuns, total ; int descheds ;