diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-03-06 22:09:18 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-03-06 22:09:18 -0800 |
commit | ede02a9fa6454d7462901f9997de1f9bef071379 (patch) | |
tree | d0fd639c0000c65a095fe6cb96174a62f94da692 | |
parent | e396824ed2d6514a62302c5e5591cacfbb8cd29b (diff) | |
download | txr-ede02a9fa6454d7462901f9997de1f9bef071379.tar.gz txr-ede02a9fa6454d7462901f9997de1f9bef071379.tar.bz2 txr-ede02a9fa6454d7462901f9997de1f9bef071379.zip |
Fix signed/unsigned warning from g++.
* sysif.c (repress_called, is_setuid): Change to unsigned int,
so comparison with RC_MAGIC constant doesn't elicit warning
-rw-r--r-- | sysif.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -874,7 +874,7 @@ static val setegid_wrap(val nval) #define RC_MAGIC 0xbe50c001 static uid_t orig_euid, real_uid; -static int repress_called = 0, is_setuid = 1; +static unsigned int repress_called = 0, is_setuid = 1; void repress_privilege(void) { |