diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-13 11:53:33 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-13 11:53:33 -0800 |
commit | fe021a25285e3438b97355d1e7270190cf91646f (patch) | |
tree | 36b3f9837957ede047729afb53b1b2a77187fdcc /log.c | |
parent | 5a273c9fab6a4fe3ab0c729e78f3a86d3e5a69ed (diff) |
Use mode_t, not int, for umask return/argument value
Fixes clang warnings:
auth.c:144:22: warning: implicit conversion changes signedness: 'mode_t' (aka 'unsigned int') to 'int' [-Wsign-conversion]
original_umask = umask (0077); /* disallow non-owner access */
~ ^~~~~~~~~~~~
auth.c:214:12: warning: implicit conversion changes signedness: 'int' to 'mode_t' (aka 'unsigned int') [-Wsign-conversion]
umask (original_umask);
~~~~~ ^~~~~~~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'log.c')
0 files changed, 0 insertions, 0 deletions