Fix build on 4.X by fixing a C99-ism.
Reported by: J. W. Ballantine <jwb@homer.att.com>
This commit is contained in:
parent
98124acc2c
commit
3615eede01
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111175
1 changed files with 14 additions and 0 deletions
|
@ -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,
|
Loading…
Reference in a new issue