summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2017-08-26 10:29:32 +0200
committerDaniel Friesel <derf@finalrewind.org>2017-08-26 10:29:32 +0200
commit370f5054693a5c617fd48b92d77476ae01bc6fba (patch)
tree4a409e20f15d1819b4759a31e2d8623f7c630151
parent5cf2736a8a7f6b8df8f2793b095f219941a34338 (diff)
parentb6782ccf1fa9e0f1778b79bdaf2367c8a84a1d6c (diff)
Merge branch 'orbea-warnings'
-rw-r--r--src/imlib.c2
-rw-r--r--src/utils.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/imlib.c b/src/imlib.c
index ecc44b5..cdc4fe7 100644
--- a/src/imlib.c
+++ b/src/imlib.c
@@ -1262,7 +1262,7 @@ void feh_draw_actions(winwidget w)
int i = 0;
int num_actions = 0;
int cur_action = 0;
- char index[2];
+ char index[3];
char *line;
/* Count number of defined actions. This method sucks a bit since it needs
diff --git a/src/utils.c b/src/utils.c
index 4c06a48..dfae909 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -157,7 +157,7 @@ char *feh_unique_filename(char *path, char *basename)
{
char *tmpname;
char num[10];
- char cppid[10];
+ char cppid[12];
static long int i = 1;
struct stat st;
pid_t ppid;