summaryrefslogtreecommitdiff
path: root/pp_hot.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>1999-08-10 09:06:42 +0000
committerJarkko Hietaniemi <jhi@iki.fi>1999-08-10 09:06:42 +0000
commitd8eceb896c98708a63dcc63f7bf202b095342359 (patch)
tree9701b08cb03f36f95bdc3bc268845cf99e36dd6f /pp_hot.c
parent1ff81528d9b685c68d4fe91564f636f46d635496 (diff)
downloadperl-d8eceb896c98708a63dcc63f7bf202b095342359.tar.gz
Gratuitous uid and gid casts to I32s and ints removed.
There are still problem spots in printfing such ids: width (%d vs %ld) and signedness %d vs %u. p4raw-id: //depot/cfgperl@3945
Diffstat (limited to 'pp_hot.c')
-rw-r--r--pp_hot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/pp_hot.c b/pp_hot.c
index 38658d18f1..78f07a17f3 100644
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -767,8 +767,8 @@ PP(pp_aassign)
}
# endif /* HAS_SETREUID */
#endif /* HAS_SETRESUID */
- PL_uid = (int)PerlProc_getuid();
- PL_euid = (int)PerlProc_geteuid();
+ PL_uid = PerlProc_getuid();
+ PL_euid = PerlProc_geteuid();
}
if (PL_delaymagic & DM_GID) {
#ifdef HAS_SETRESGID
@@ -796,8 +796,8 @@ PP(pp_aassign)
}
# endif /* HAS_SETREGID */
#endif /* HAS_SETRESGID */
- PL_gid = (int)PerlProc_getgid();
- PL_egid = (int)PerlProc_getegid();
+ PL_gid = PerlProc_getgid();
+ PL_egid = PerlProc_getegid();
}
PL_tainting |= (PL_uid && (PL_euid != PL_uid || PL_egid != PL_gid));
}