aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Van Rooy <wouter.van.rooy@vasco.com>2012-09-19 17:14:41 +0200
committerWouter Van Rooy <wouter.van.rooy@vasco.com>2012-09-19 17:14:41 +0200
commitb169ade644134853d2f528853157b739d8fcd90e (patch)
tree1229369e8ee13fa4ff069487bae15cea3f7941fc
parent73c1abb9ce1b4aad1cefff6cf8a5cc5ed088dd34 (diff)
Fix pointer to integer different size cast warning
-rw-r--r--svte.c2
1 files changed, 1 insertions, 1 deletions
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] == '/') {