summaryrefslogtreecommitdiff
path: root/src/utils.c
diff options
context:
space:
mode:
authororbea <ovariegata@yahoo.com>2017-08-25 10:23:25 -0700
committerorbea <ovariegata@yahoo.com>2017-08-25 10:23:25 -0700
commitb6782ccf1fa9e0f1778b79bdaf2367c8a84a1d6c (patch)
tree4a409e20f15d1819b4759a31e2d8623f7c630151 /src/utils.c
parent5cf2736a8a7f6b8df8f2793b095f219941a34338 (diff)
Silence warnings
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
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;