Style nits and a missing cast.

This commit is contained in:
nicm
2017-04-19 12:44:29 +00:00
parent fa6deb5866
commit 689f4bfac2
3 changed files with 3 additions and 3 deletions

2
tmux.c
View File

@ -120,7 +120,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);