1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-11-04 00:53:12 +03:00

Fix clang -Wimplicit-int-conversion warning

* libxslt/numbers.c:
(xsltNumberFormatDecimal): Cast `val` to `(xmlChar)` to fix the
warning.
This commit is contained in:
David Kilzer
2020-01-07 15:23:17 -08:00
committed by Nick Wellnhofer
parent 291d190b3d
commit aac4bccdd8

View File

@@ -177,7 +177,7 @@ xsltNumberFormatDecimal(xmlBufferPtr buffer,
i = -1; i = -1;
break; break;
} }
*(--pointer) = val; *(--pointer) = (xmlChar)val;
} }
else { else {
/* /*