diff --git a/core/parse-xml.c b/core/parse-xml.c index e8782251e..746d4ce16 100644 --- a/core/parse-xml.c +++ b/core/parse-xml.c @@ -3441,7 +3441,7 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size) while (ptr < buffer + size) { time = ((ptr[0] >> 4) & 0x0f) + ((ptr[1] << 4) & 0xff0) + - (ptr[2] & 0x0f) * 3600; /* hours */ + ((ptr[2] << 12) & 0x1f000); event = ptr[0] & 0x0f; switch (event) { case 0: