summaryrefslogtreecommitdiffstats
path: root/hacks/shadebobs.c
diff options
context:
space:
mode:
authorSimon Rettberg2019-07-30 16:03:58 +0200
committerSimon Rettberg2019-07-30 16:03:58 +0200
commit6a32252403781b303d4ebd195932ce39c5b1c08e (patch)
treecd2f8b3c4052c1b575caf33c9983ae531fad9092 /hacks/shadebobs.c
parentRemove android and OSX files (diff)
downloadxscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.tar.gz
xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.tar.xz
xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.zip
Update to 5.43
Diffstat (limited to 'hacks/shadebobs.c')
-rw-r--r--hacks/shadebobs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hacks/shadebobs.c b/hacks/shadebobs.c
index d796162..8aaf6f7 100644
--- a/hacks/shadebobs.c
+++ b/hacks/shadebobs.c
@@ -121,7 +121,7 @@ static void InitShadeBob( struct state *st, SShadeBob *pShadeBob, Bool bDark )
double nDelta;
int iWidth, iHeight;
- if( ( pShadeBob->anDeltaMap = calloc( st->iBobDiameter * st->iBobDiameter, sizeof(char) ) ) == NULL )
+ if( ( pShadeBob->anDeltaMap = calloc( st->iBobDiameter * st->iBobDiameter, sizeof(signed char) ) ) == NULL )
{
fprintf( stderr, "%s: Could not allocate Delta Map!\n", progname );
return;