summaryrefslogtreecommitdiff
path: root/doc/de
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-03-23 23:00:04 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-03-23 23:00:04 +0100
commit57323fa71effad75d78b36a45d5457b1bd782963 (patch)
tree50d7a5bacacebcdf59d5bf38dff84c83bf557d31 /doc/de
parent14feea7ab84df3e367bc3732e8ba1470e1a3f5a7 (diff)
downloadweechat-57323fa71effad75d78b36a45d5457b1bd782963.zip
Removed sizeof(char) and useless type casts from void* to another pointer type (patch from Leonid Evdokimov)
Diffstat (limited to 'doc/de')
-rw-r--r--doc/de/plugin_api.de.xml2
-rw-r--r--doc/de/weechat.de.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/de/plugin_api.de.xml b/doc/de/plugin_api.de.xml
index 3ae4b412e..61b5b757b 100644
--- a/doc/de/plugin_api.de.xml
+++ b/doc/de/plugin_api.de.xml
@@ -1738,7 +1738,7 @@ char *adder (t_weechat_plugin *plugin, int argc, char **argv,
char *modifier_args, void *modifier_pointer)
{
char *string;
- string = (char *)malloc (strlen (argv[1]) + 16);
+ string = malloc (strlen (argv[1]) + 16);
strcpy (string, argv[1]);
strcat (string, "test");
return string;
diff --git a/doc/de/weechat.de.xml b/doc/de/weechat.de.xml
index 11e84b23e..8168b7d18 100644
--- a/doc/de/weechat.de.xml
+++ b/doc/de/weechat.de.xml
@@ -3072,7 +3072,7 @@ char *adder (t_weechat_plugin *plugin, int argc, char **argv,
char *modifier_args, void *modifier_pointer)
{
char *string;
- string = (char *)malloc (strlen (argv[1]) + 16);
+ string = malloc (strlen (argv[1]) + 16);
strcpy (string, argv[1]);
strcat (string, "test");
return string;