aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/gist.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/gist.sgml b/doc/src/sgml/gist.sgml
index 99098ab2522..df4afaa2e77 100644
--- a/doc/src/sgml/gist.sgml
+++ b/doc/src/sgml/gist.sgml
@@ -1027,7 +1027,7 @@ fill_my_string_relopt(const char *value, void *ptr)
int len = strlen(tmp);
if (ptr)
- strcpy((char *) ptr, tmp);
+ strcpy(ptr, tmp);
pfree(tmp);
return len + 1;