diff options
| author | Mattias Andrée <maandree@operamail.com> | 2014-05-23 14:59:34 +0200 |
|---|---|---|
| committer | Mattias Andrée <maandree@operamail.com> | 2014-05-23 14:59:34 +0200 |
| commit | 202f14de554e4fc1671bd882579dc64e8674a867 (patch) | |
| tree | 069f047bfeb8ee4c364c833aa2d8bb97755837df /src | |
| parent | forcable wipe the passphrase (diff) | |
| download | cerberus-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.c | 2 |
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; } |
