diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-04-19 16:01:14 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-04-19 16:01:14 +0100 |
commit | 5a551ac57f5f6ab9e4ea58752521583f00c8e555 (patch) | |
tree | e999ce267cf8e71945add80b9b647ecf645b8fa1 /tmux.c | |
parent | 85af9c9c9d5614a483f4346a75da6aa589b33a12 (diff) | |
parent | 53fde21bb85c37c35854069ec95377ecc86750ee (diff) | |
download | rtmux-5a551ac57f5f6ab9e4ea58752521583f00c8e555.tar.gz rtmux-5a551ac57f5f6ab9e4ea58752521583f00c8e555.tar.bz2 rtmux-5a551ac57f5f6ab9e4ea58752521583f00c8e555.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |