From b169ade644134853d2f528853157b739d8fcd90e Mon Sep 17 00:00:00 2001 From: Wouter Van Rooy Date: Wed, 19 Sep 2012 17:14:41 +0200 Subject: Fix pointer to integer different size cast warning --- svte.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svte.c') diff --git a/svte.c b/svte.c index 63d9667..cb1cb57 100644 --- a/svte.c +++ b/svte.c @@ -254,7 +254,7 @@ static char* tab_get_cwd(struct term* t) char buf[255+1]; int len; - file = g_strdup_printf ("/proc/%d/cwd", (int)t->pid); + file = g_strdup_printf ("/proc/%d/cwd", t->pid); len = readlink (file, buf, sizeof (buf) - 1); if (len > 0 && buf[0] == '/') { -- cgit v1.2.3