Hush a warning about XML_Size not being an int
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 7 Sep 2007 00:48:11 +0000 (00:48 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 7 Sep 2007 00:48:11 +0000 (00:48 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@7763 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/apachemods/mod_xmlent.c

index 84e7b3d..2df9eb6 100644 (file)
@@ -342,7 +342,7 @@ static int xmlEntHandler( ap_filter_t *f, apr_bucket_brigade *brigade ) {
                                /* log and die on XML errors */
                                ap_log_rerror( APLOG_MARK, APLOG_ERR, 0, f->r, "XMLENT XML Parse Error: %s at line %d\n",
                                        XML_ErrorString(XML_GetErrorCode(ctx->parser)), 
-                                       XML_GetCurrentLineNumber(ctx->parser));
+                                       (int) XML_GetCurrentLineNumber(ctx->parser));
 
                                XML_ParserFree(parser);
                                parser = NULL;