From f90400b62d82846fdbd6086d63374e8374f7a7fe Mon Sep 17 00:00:00 2001 From: kristof <Kristof.Szabados@ericsson.com> Date: Sat, 18 Feb 2017 11:21:43 +0100 Subject: [PATCH] lets use the xmlchar type as that is the type of the parameter for all calls. (and consider to use xmlchar for the local unsigne chars too.) Signed-off-by: kristof <Kristof.Szabados@ericsson.com> --- core/Hexstring.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Hexstring.cc b/core/Hexstring.cc index d8a4027cb..1de79d358 100644 --- a/core/Hexstring.cc +++ b/core/Hexstring.cc @@ -896,7 +896,7 @@ int HEXSTRING::XER_encode(const XERdescriptor_t& p_td, } -unsigned int xlate_hs(cbyte*in, int phase, unsigned char*dest) { +unsigned int xlate_hs(xmlChar in[4], int phase, unsigned char*dest) { static unsigned char nbytes[4] = { 3,1,1,2 }; unsigned char out[4]; -- GitLab