projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b300803
)
regcomp.c: silence compiler warning
author
David Mitchell
<davem@iabyn.com>
Sat, 23 Mar 2013 21:29:26 +0000
(21:29 +0000)
committer
David Mitchell
<davem@iabyn.com>
Sat, 23 Mar 2013 21:36:09 +0000
(21:36 +0000)
add a cast before doing a printf "%x" on a pointer
regcomp.c
patch
|
blob
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
316c4ee
..
6686d8b
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-11947,7
+11947,8
@@
S_handle_regex_sets(pTHX_ RExC_state_t *pRExC_state, SV** return_invlist, I32 *f
they're valid on this machine */
NULL);
if (!node)
- FAIL2("panic: regclass returned NULL to handle_sets, flags=%#X", flagp);
+ FAIL2("panic: regclass returned NULL to handle_sets, flags=%#"UVxf,
+ PTR2UV(flagp));
if (save_fold) {
RExC_flags |= RXf_PMf_FOLD;
}