You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/xml2doc/files/xml2doc-pointer_fix.patch

21 lines
627 B

diff -NurdpB xml2doc/src/output_info.c xml2doc-patched/src/output_info.c
--- xml2doc/src/output_info.c 2003-04-25 05:11:27.000000000 -0500
+++ xml2doc-patched/src/output_info.c 2007-03-14 15:07:59.000000000 -0500
@@ -9,11 +9,11 @@ void output_info()
*subject = xmlGetProp(Doc[n].cur,"subject"),
*keywords = xmlGetProp(Doc[n].cur,"keywords"),
*trapped = xmlGetProp(Doc[n].cur,"trapped");
- struct time_t *timet;
- struct tm *clk;
-
- time((time_t *)&timet);
- clk=localtime((const time_t *)&timet);
+ time_t timet;
+ struct tm *clk;
+
+ time(&timet);
+ clk=localtime(&timet);
switch(DocS.output)
{