aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2017-04-19 16:01:14 +0100
committerThomas Adam <thomas@xteddy.org>2017-04-19 16:01:14 +0100
commit5a551ac57f5f6ab9e4ea58752521583f00c8e555 (patch)
treee999ce267cf8e71945add80b9b647ecf645b8fa1 /tmux.c
parent85af9c9c9d5614a483f4346a75da6aa589b33a12 (diff)
parent53fde21bb85c37c35854069ec95377ecc86750ee (diff)
downloadrtmux-5a551ac57f5f6ab9e4ea58752521583f00c8e555.tar.gz
rtmux-5a551ac57f5f6ab9e4ea58752521583f00c8e555.tar.bz2
rtmux-5a551ac57f5f6ab9e4ea58752521583f00c8e555.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index c106d88d..78c8c70b 100644
--- a/tmux.c
+++ b/tmux.c
@@ -118,7 +118,7 @@ make_label(const char *label)
uid = getuid();
if ((s = getenv("TMUX_TMPDIR")) != NULL && *s != '\0')
- xasprintf(&base, "%s/tmux-%u", s, uid);
+ xasprintf(&base, "%s/tmux-%ld", s, (long)uid);
else
xasprintf(&base, "%s/tmux-%ld", _PATH_TMP, (long)uid);