mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 17:10:59 +01:00
Silenced two signed/unsigned comparison compiler warnings.
This commit is contained in:
parent
fea94cd79f
commit
14c7f464c2
4 changed files with 8 additions and 8 deletions
|
|
@ -283,11 +283,11 @@ putpromptchar(int doprint, int endchar)
|
|||
test = 1;
|
||||
break;
|
||||
case '#':
|
||||
if (geteuid() == arg)
|
||||
if (geteuid() == (uid_t)arg)
|
||||
test = 1;
|
||||
break;
|
||||
case 'g':
|
||||
if (getegid() == arg)
|
||||
if (getegid() == (gid_t)arg)
|
||||
test = 1;
|
||||
break;
|
||||
case 'j':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue