projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/md5/fa43fdd68d...
[xscreensaver]
/
driver
/
timers.c
diff --git
a/driver/timers.c
b/driver/timers.c
index 5e73d5b12134823b47769066cf35ce63ab7cd4cc..7e9baaacd91c121d57243f090adf1e9b6943e80b 100644
(file)
--- a/
driver/timers.c
+++ b/
driver/timers.c
@@
-264,8
+264,8
@@
cycle_timer (XtPointer closure, XtIntervalId *id)
else
{
if (p->debug_p)
else
{
if (p->debug_p)
- fprintf (stderr, "%s: not starting cycle_timer: how_long == %d\n",
- blurb(), how_long);
+ fprintf (stderr, "%s: not starting cycle_timer: how_long == %
l
d\n",
+ blurb(),
(unsigned long)
how_long);
}
}
}
}
@@
-450,7
+450,7
@@
check_for_clock_skew (saver_info *si)
shift > (p->timeout / 1000))
{
if (p->verbose_p)
shift > (p->timeout / 1000))
{
if (p->verbose_p)
- fprintf (stderr, "%s: wall clock has jumped by %
d:%02d:%02
d!\n",
+ fprintf (stderr, "%s: wall clock has jumped by %
ld:%02ld:%02l
d!\n",
blurb(),
(shift / (60 * 60)), ((shift / 60) % 60), (shift % 60));
blurb(),
(shift / (60 * 60)), ((shift / 60) % 60), (shift % 60));
@@
-705,8
+705,8
@@
sleep_until_idle (saver_info *si, Bool until_idle_p)
if (p->debug_p)
{
if (p->debug_p)
{
- Window root
, window
;
- int x
, y
;
+ Window root
=0, window=0
;
+ int x
=-1, y=-1
;
const char *type = 0;
if (event.xany.type == MotionNotify)
{
const char *type = 0;
if (event.xany.type == MotionNotify)
{
@@
-738,7
+738,7
@@
sleep_until_idle (saver_info *si, Bool until_idle_p)
for (i = 0; i < si->nscreens; i++)
if (root == RootWindowOfScreen (si->screens[i].screen))
break;
for (i = 0; i < si->nscreens; i++)
if (root == RootWindowOfScreen (si->screens[i].screen))
break;
- fprintf (stderr,"%s: %d: %s on 0x%x",
+ fprintf (stderr,"%s: %d: %s on 0x%
l
x",
blurb(), i, type, (unsigned long) window);
if (x == -1)
fprintf (stderr, "\n");
blurb(), i, type, (unsigned long) window);
if (x == -1)
fprintf (stderr, "\n");