diff options
author | rillig <rillig> | 2007-11-04 15:46:58 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-11-04 15:46:58 +0000 |
commit | 93ce1c2101497b8775dd64e46557f5bd93f6a9fb (patch) | |
tree | 61b8434816d58378d4f7eb5e36209e4b2da45a85 /wm | |
parent | 8706dec661f149a492bcca781ccb235c7c705fe1 (diff) | |
download | pkgsrc-93ce1c2101497b8775dd64e46557f5bd93f6a9fb.tar.gz |
Fixed gcc warnings (treated as errors) about the signedness of pointer
targets.
Diffstat (limited to 'wm')
-rw-r--r-- | wm/fluxconf/distinfo | 4 | ||||
-rw-r--r-- | wm/fluxconf/patches/patch-aa | 17 |
2 files changed, 15 insertions, 6 deletions
diff --git a/wm/fluxconf/distinfo b/wm/fluxconf/distinfo index 389ea555399..c569d212f47 100644 --- a/wm/fluxconf/distinfo +++ b/wm/fluxconf/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/04/15 09:39:39 xtraeme Exp $ +$NetBSD: distinfo,v 1.2 2007/11/04 15:46:58 rillig Exp $ SHA1 (fluxconf-0.9.9.tar.gz) = c9e262d21b4badfcebccb0f500af10c854bda9eb RMD160 (fluxconf-0.9.9.tar.gz) = 0e9e29292d6679f0a43d6fb4d091015f66e4cf20 Size (fluxconf-0.9.9.tar.gz) = 234276 bytes -SHA1 (patch-aa) = 1ff7df6af20edb0cab1c4de7023b28e140326394 +SHA1 (patch-aa) = b30a016ed61e64672240f9eb392244839c9adad9 diff --git a/wm/fluxconf/patches/patch-aa b/wm/fluxconf/patches/patch-aa index 1c153da92ab..b8bc79bd4da 100644 --- a/wm/fluxconf/patches/patch-aa +++ b/wm/fluxconf/patches/patch-aa @@ -1,14 +1,23 @@ -$NetBSD: patch-aa,v 1.1.1.1 2006/04/15 09:39:39 xtraeme Exp $ +$NetBSD: patch-aa,v 1.2 2007/11/04 15:46:58 rillig Exp $ --- src/fluxconf.c.orig 2004-12-08 17:58:37.000000000 +0100 -+++ src/fluxconf.c 2006-04-14 12:18:31.000000000 +0200 -@@ -263,7 +263,8 @@ ++++ src/fluxconf.c 2007-11-04 16:45:55.000000000 +0100 +@@ -263,7 +263,8 @@ int fluxconf(int argc, char **argv, char GdkFont *head; GtkTooltips *tip; GList *items = NULL; - char *initpath, *buf, **config; + char *initpath, *buf; -+ unsigned char **config; ++ char **config; FILE *file; #ifndef GTK2 +@@ -316,7 +317,7 @@ int fluxconf(int argc, char **argv, char + if (y < QCM_START) + s[y].val = atoi(config[i - 1] + msgsLen + 2); /* < 7 are spinboxes */ + else if (y > QCM_START - 1 && y < QCM_STOP) { /* TRUE or FALSE */ +- if (toupper(config[i - 1][msgsLen + 2]) == 'F') ++ if (toupper((unsigned char)(config[i - 1][msgsLen + 2])) == 'F') + s[y].val = 0; + else + s[y].val = 1; |