aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-23 14:59:34 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-23 14:59:34 +0200
commit202f14de554e4fc1671bd882579dc64e8674a867 (patch)
tree069f047bfeb8ee4c364c833aa2d8bb97755837df /src
parentforcable wipe the passphrase (diff)
downloadcerberus-202f14de554e4fc1671bd882579dc64e8674a867.tar.gz
cerberus-202f14de554e4fc1671bd882579dc64e8674a867.tar.bz2
cerberus-202f14de554e4fc1671bd882579dc64e8674a867.tar.xz
fix warning1400850361
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r--src/security.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/security.c b/src/security.c
index 45feb66..203990c 100644
--- a/src/security.c
+++ b/src/security.c
@@ -126,7 +126,7 @@ void chown_tty(uid_t owner, gid_t group, char with_fail)
*--vcs = *--vcsa = 0;
while (n)
{
- *--vcs = *--vcsa = (n % 10) + '0';
+ *--vcs = *--vcsa = (char)((n % 10) + '0');
n /= 10;
}