mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-10-10 12:12:40 +02:00
Fix build on go < 1.7
This commit is contained in:
@@ -160,7 +160,7 @@ func calcCrop(width, height int, po processingOptions) (left, top int) {
|
||||
}
|
||||
|
||||
func processImage(data []byte, imgtype imageType, po processingOptions) ([]byte, error) {
|
||||
defer runtime.KeepAlive(data)
|
||||
defer keepAlive(data)
|
||||
|
||||
err := C.int(0)
|
||||
|
||||
|
Reference in New Issue
Block a user