storj/lib
Egon Elbre fdd86d17ac lib/uplinkc: use SliceHeader instead of [1<<30]
Conversions such as will be invalid with Go 1.14

    (*[1<<30]byte)(unsafe.Pointer(data))

The recommended way is to use:

    *(*[]byte)(unsafe.Pointer(
        &reflect.SliceHeader{
            Data: uintptr(unsafe.Pointer(data)),
            Len: int(length),
            Cap: int(length),
        },
    ))

Also fixed a memory leak.

Change-Id: I1768b7b85505e6b57b49deb62a510474f1bf84c1
2019-12-13 16:49:41 +00:00
..
uplink uplink/metainfo: remove additional GetObject from download 2019-12-09 11:48:48 +00:00
uplink-gomobile private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
uplinkc lib/uplinkc: use SliceHeader instead of [1<<30] 2019-12-13 16:49:41 +00:00