projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://ftp.x.org/contrib/applications/xscreensaver-3.19.tar.gz
[xscreensaver]
/
hacks
/
shadebobs.c
diff --git
a/hacks/shadebobs.c
b/hacks/shadebobs.c
index cca0654ead0ecabf12411b96c779506b01852c9a..422bc1b2abbd3b0ab55067d886fdfef0f49e64f5 100644
(file)
--- a/
hacks/shadebobs.c
+++ b/
hacks/shadebobs.c
@@
-77,7
+77,7
@@
static float nExtentDelta;
typedef struct
{
typedef struct
{
- char *anDeltaMap;
+
signed
char *anDeltaMap;
double nVelocityX, nVelocityY;
double nAngleX, nAngleY;
float nExtentX, nExtentY;
double nVelocityX, nVelocityY;
double nAngleX, nAngleY;
float nExtentX, nExtentY;
@@
-97,7
+97,7
@@
static void ResetShadeBob( SShadeBob *pShadeBob )
static void InitShadeBob( SShadeBob *pShadeBob, Bool bDark )
{
double nDelta;
static void InitShadeBob( SShadeBob *pShadeBob, Bool bDark )
{
double nDelta;
-
char
iWidth, iHeight;
+
int
iWidth, iHeight;
if( ( pShadeBob->anDeltaMap = calloc( nBobDiameter * nBobDiameter, sizeof(char) ) ) == NULL )
{
if( ( pShadeBob->anDeltaMap = calloc( nBobDiameter * nBobDiameter, sizeof(char) ) ) == NULL )
{