diff options
author | Wouter Van Rooy <wouter.van.rooy@vasco.com> | 2012-09-19 17:14:41 +0200 |
---|---|---|
committer | Wouter Van Rooy <wouter.van.rooy@vasco.com> | 2012-09-19 17:14:41 +0200 |
commit | b169ade644134853d2f528853157b739d8fcd90e (patch) | |
tree | 1229369e8ee13fa4ff069487bae15cea3f7941fc /svte.c | |
parent | 73c1abb9ce1b4aad1cefff6cf8a5cc5ed088dd34 (diff) |
Fix pointer to integer different size cast warning
Diffstat (limited to 'svte.c')
-rw-r--r-- | svte.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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] == '/') { |