projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://svn.poeml.de/viewvc/ppc/src-unpacked/xscreensaver/xscreensaver-4.12.tar.bz2...
[xscreensaver]
/
utils
/
resources.c
diff --git
a/utils/resources.c
b/utils/resources.c
index fc5cea13e7f7e9d25681e0c48452acbf240b2e02..980878204d78e657e0f11a8989051d8ff3228c52 100644
(file)
--- a/
utils/resources.c
+++ b/
utils/resources.c
@@
-1,4
+1,4
@@
-/* xscreensaver, Copyright (c) 1992, 1997, 1998, 2001
+/* xscreensaver, Copyright (c) 1992, 1997, 1998, 2001
, 2003
* Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
@@
-91,7
+91,7
@@
get_integer_resource (char *res_name, char *res_class)
if (ss[0] == '0' && (ss[1] == 'x' || ss[1] == 'X')) /* 0x: parse as hex */
{
if (ss[0] == '0' && (ss[1] == 'x' || ss[1] == 'X')) /* 0x: parse as hex */
{
- if (1 == sscanf (ss+2, "%x %c", &val, &c))
+ if (1 == sscanf (ss+2, "%x %c",
(unsigned int *)
&val, &c))
{
free (s);
return val;
{
free (s);
return val;