1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-09 15:24:12 +01:00

eliminated gcc-4 compilation warnings

This commit is contained in:
dan
2005-08-22 23:58:19 +00:00
parent 91f5abc955
commit c0317ddae5
28 changed files with 143 additions and 117 deletions

View File

@@ -787,7 +787,7 @@ void
freeTexture(BackgroundTexture *texture)
{
if (texture->solid) {
long pixel[1];
unsigned long pixel[1];
pixel[0] = texture->color.pixel;
/* dont free black/white pixels */
@@ -966,7 +966,7 @@ changeTexture(BackgroundTexture *texture)
int
readmsg(int fd, unsigned char *buffer, int size)
readmsg(int fd, char *buffer, int size)
{
int count;
@@ -998,7 +998,7 @@ helperLoop(RContext *rc)
{
BackgroundTexture *textures[WORKSPACE_COUNT];
int maxTextures = 0;
unsigned char buffer[2048], buf[8];
char buffer[2048], buf[8];
int size;
int errcount = 4;