From 7f586bd197b3f83ad6d5a65dfb8f7b1f13f72a99 Mon Sep 17 00:00:00 2001 From: Joshua Granick Date: Tue, 30 Aug 2016 03:58:30 -0700 Subject: [PATCH] Flash fix --- lime/math/color/ARGB.hx | 2 +- lime/math/color/BGRA.hx | 2 +- lime/math/color/RGBA.hx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lime/math/color/ARGB.hx b/lime/math/color/ARGB.hx index 90ef6902e..90faa9894 100644 --- a/lime/math/color/ARGB.hx +++ b/lime/math/color/ARGB.hx @@ -6,7 +6,7 @@ import lime.utils.UInt32Array; import lime.utils.UInt8Array; -abstract ARGB(UInt) from Int to Int from UInt to UInt { +abstract ARGB(#if flash Int #else UInt #end) from Int to Int from UInt to UInt { private static var a16:Int; diff --git a/lime/math/color/BGRA.hx b/lime/math/color/BGRA.hx index 607a81dc8..17a30adbf 100644 --- a/lime/math/color/BGRA.hx +++ b/lime/math/color/BGRA.hx @@ -6,7 +6,7 @@ import lime.utils.UInt32Array; import lime.utils.UInt8Array; -abstract BGRA(UInt) from Int to Int from UInt to UInt { +abstract BGRA(#if flash Int #else UInt #end) from Int to Int from UInt to UInt { private static var a16:Int; diff --git a/lime/math/color/RGBA.hx b/lime/math/color/RGBA.hx index c89a751b7..a128c205e 100644 --- a/lime/math/color/RGBA.hx +++ b/lime/math/color/RGBA.hx @@ -8,7 +8,7 @@ import lime.utils.UInt8Array; @:allow(lime.math.color) -abstract RGBA(UInt) from Int to Int from UInt to UInt { +abstract RGBA(#if flash Int #else UInt #end) from Int to Int from UInt to UInt { private static var __alpha16:UInt32Array;