Fix build on 4.X by fixing a C99-ism.

Reported by:	J. W. Ballantine <jwb@homer.att.com>
This commit is contained in:
Joe Marcus Clarke 2004-06-09 19:38:40 +00:00
parent 98124acc2c
commit 3615eede01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111175

View file

@ -0,0 +1,14 @@
--- extensions/error-viewer/sgml-validator.c.orig Wed Jun 9 15:37:19 2004
+++ extensions/error-viewer/sgml-validator.c Wed Jun 9 15:37:41 2004
@@ -436,9 +436,10 @@
static gboolean
sgml_validator_append_internal (gpointer data)
{
+ SgmlValidatorAppendCBData *append_data;
g_return_if_fail (data != NULL);
- SgmlValidatorAppendCBData *append_data =
+ append_data =
(SgmlValidatorAppendCBData *) data;
error_viewer_append (append_data->validator->priv->error_viewer,