From 689f4bfac22597e7fd2090373bdffe4df1ed5a34 Mon Sep 17 00:00:00 2001 From: nicm Date: Wed, 19 Apr 2017 12:44:29 +0000 Subject: Style nits and a missing cast. --- tmux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tmux.c') diff --git a/tmux.c b/tmux.c index d836aacf..b2768fa1 100644 --- a/tmux.c +++ b/tmux.c @@ -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); -- cgit