Remove unnecessary type conversion

This commit is contained in:
Derek Parker 2014-12-30 09:23:22 -06:00
parent 849a201d4a
commit cc8563a2a2

@ -627,5 +627,5 @@ func (thread *ThreadContext) readMemory(addr uintptr, size uintptr) ([]byte, err
// Sets the length of a slice.
func setSliceLength(ptr unsafe.Pointer, l int) {
lptr := (*int)(unsafe.Pointer(uintptr(ptr) + ptrsize))
*lptr = int(l)
*lptr = l
}