summaryrefslogtreecommitdiffstats
path: root/driver/test-screens.c
diff options
context:
space:
mode:
authorSimon Rettberg2024-09-06 14:42:37 +0200
committerSimon Rettberg2024-09-06 14:42:37 +0200
commitbadef32037f52f79abc1f1440b786cd71afdf270 (patch)
tree412b792d4cab4a7a110db82fcf74fe8a1ac55ec1 /driver/test-screens.c
parentDelete pre-6.00 files (diff)
downloadxscreensaver-master.tar.gz
xscreensaver-master.tar.xz
xscreensaver-master.zip
Diffstat (limited to 'driver/test-screens.c')
-rw-r--r--driver/test-screens.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver/test-screens.c b/driver/test-screens.c
index 141b7ad..1e0189a 100644
--- a/driver/test-screens.c
+++ b/driver/test-screens.c
@@ -83,7 +83,7 @@ test (int testnum, const char *screens, const char *desired)
{
sprintf (out, "%dx%d+%d+%d", m->width, m->height, m->x, m->y);
if (m->screen)
- sprintf (out + strlen(out), "@%d", (int) m->screen);
+ sprintf (out + strlen(out), "@%ld", (long) m->screen);
}
else
strcpy (out, failstr (m->sanity));