projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2a3871
)
Git.xs: older perl do not know const char *
author
Johannes Schindelin
<Johannes.Schindelin@gmx.de>
Sun, 2 Jul 2006 09:53:03 +0000
(11:53 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 3 Jul 2006 00:14:44 +0000
(17:14 -0700)
Both of these casts _should_ be safe, since you do not want to muck around
with the version or the path anyway.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
perl/Git.xs
patch
|
blob
|
history
diff --git
a/perl/Git.xs
b/perl/Git.xs
index 51bfac3bd52e0c76afc813ec88caafce3898c90d..c8242103b5f571990161a8e69861c3d4c6b19d3a 100644
(file)
--- a/
perl/Git.xs
+++ b/
perl/Git.xs
@@
-59,7
+59,7
@@
BOOT:
# /* TODO: xs_call_gate(). See Git.pm. */
-c
onst c
har *
+char *
xs_version()
CODE:
{
@@
-69,11
+69,11
@@
OUTPUT:
RETVAL
-c
onst c
har *
+char *
xs_exec_path()
CODE:
{
- RETVAL = git_exec_path();
+ RETVAL =
(char *)
git_exec_path();
}
OUTPUT:
RETVAL