From 7f38dcd24760818504e5887ac493ae2abcd7ffbe Mon Sep 17 00:00:00 2001
From: Vincent Rasquier <vrasquier@keley-live.com>
Date: Fri, 15 Dec 2017 17:24:40 +0100
Subject: [PATCH] Urgent fix

---
 asm/classreader.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/asm/classreader.go b/asm/classreader.go
index 3224c18..3041a85 100644
--- a/asm/classreader.go
+++ b/asm/classreader.go
@@ -1963,17 +1963,17 @@ func (c ClassReader) readByte(offset int) byte {
 
 func (c ClassReader) readUnsignedShort(offset int) int {
 	b := c.b
-	return int(((b[offset] & 0xFF) << 8) | (b[offset+1] & 0xFF))
+	return (int(b[offset]&0xFF) << 8) | int(b[offset+1]&0xFF)
 }
 
 func (c ClassReader) readShort(offset int) int16 {
 	b := c.b
-	return int16((((b[offset] & 0xFF) << 8) | (b[offset+1] & 0xFF)))
+	return ((int16(b[offset]&0xFF) << 8) | int16(b[offset+1]&0xFF))
 }
 
 func (c ClassReader) readInt(offset int) int {
 	b := c.b
-	return int(((b[offset] & 0xFF) << 24) | ((b[offset+1] & 0xFF) << 16) | ((b[offset+2] & 0xFF) << 8) | (b[offset+3] & 0xFF))
+	return int((b[offset]&0xFF))<<24 | int((b[offset+1]&0xFF))<<16 | int((b[offset+2]&0xFF))<<8 | int(b[offset+3]&0xFF)
 }
 
 func (c ClassReader) readLong(offset int) int64 {