From 09fff2972d44e53c43232742d3016bb7f5e56fa4 Mon Sep 17 00:00:00 2001 From: Tomasz Kojm Date: Sat, 9 Aug 2008 11:16:21 +0000 Subject: [PATCH] fix endianess issue introduced in previous commit git-svn: trunk@4096 --- libclamav/disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libclamav/disasm.c b/libclamav/disasm.c index a3d8bd1e5..0247e6610 100644 --- a/libclamav/disasm.c +++ b/libclamav/disasm.c @@ -1698,7 +1698,7 @@ void disasmbuf(uint8_t *buff, unsigned int len, int fd) { len -= next-buff; buff=next; - w.real_op = s.real_op; + w.real_op = le16_to_host(s.real_op); w.opsize = s.opsize; w.adsize = s.adsize; w.segment = s.segment;