summaryrefslogtreecommitdiff
path: root/run.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-11-14 17:38:32 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-11-14 17:38:32 +0000
commit4265b575712fd23c947cb9e96cb5215190d6fae8 (patch)
treea4cd6ba34e290f2b266c61cd8dbd11b63f2b095e /run.c
parented094fafab5cc8979a919ec8755493543b6bddf5 (diff)
downloadperl-4265b575712fd23c947cb9e96cb5215190d6fae8.tar.gz
fix problem pointer casts
p4raw-id: //depot/perl@4583
Diffstat (limited to 'run.c')
-rw-r--r--run.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/run.c b/run.c
index 1c44f05f35..a5e63598dd 100644
--- a/run.c
+++ b/run.c
@@ -47,7 +47,8 @@ Perl_runops_debug(pTHX)
if (PL_watchaddr != 0 && *PL_watchaddr != PL_watchok)
PerlIO_printf(Perl_debug_log,
"WARNING: %"UVxf" changed from %"UVxf" to %"UVxf"\n",
- PTR2UV(PL_watchaddr), PTR2UV(PL_watchok), (UV)*PL_watchaddr);
+ PTR2UV(PL_watchaddr), PTR2UV(PL_watchok),
+ PTR2UV(*PL_watchaddr));
DEBUG_s(debstack());
DEBUG_t(debop(PL_op));
DEBUG_P(debprof(PL_op));