summaryrefslogtreecommitdiff
path: root/devel/p5-P4-Client/files/patch-Client.xs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-P4-Client/files/patch-Client.xs')
-rw-r--r--devel/p5-P4-Client/files/patch-Client.xs11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/p5-P4-Client/files/patch-Client.xs b/devel/p5-P4-Client/files/patch-Client.xs
new file mode 100644
index 000000000000..6326f96b0dcb
--- /dev/null
+++ b/devel/p5-P4-Client/files/patch-Client.xs
@@ -0,0 +1,11 @@
+--- ../P4-Client-2.2596/Client.xs Tue Oct 15 16:22:15 2002
++++ Client.xs Tue Sep 2 09:45:09 2003
+@@ -131,7 +131,7 @@ static int GetFlag( const char *flag, SV
+ warn( "Can't dereference object!!!" );
+ return 0;
+ }
+- tmp = hv_fetch( (HV *)SvRV(obj), flag, strlen( flag ), 0 );
++ tmp = hv_fetch( (HV *)SvRV(obj), (char *)flag, strlen( flag ), 0 );
+ if ( ! tmp ) return 0;
+ return SvIV( *tmp );
+ }