summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setxkbmap.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/setxkbmap.c b/setxkbmap.c
index b573b14..e50ad16 100644
--- a/setxkbmap.c
+++ b/setxkbmap.c
@@ -683,7 +683,8 @@ addStringToOptions(char *opt_str, list_t *opts)
char *
stringFromOptions(char *orig, list_t *newOpts)
{
- int len, i, nOut;
+ size_t len;
+ int i, nOut;
if (orig)
len = strlen(orig) + 1;