royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [royale-compiler] 01/02: need to use uint for rgba
Date Wed, 14 Mar 2018 16:32:51 GMT
This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git

commit 5a1a2b9aaaed6d2c5b6dacd0ee8e588aea9e68d7
Author: Alex Harui <aharui@apache.org>
AuthorDate: Tue Mar 13 23:49:36 2018 -0700

    need to use uint for rgba
---
 .../org/apache/royale/compiler/internal/css/codegen/CSSReducer.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/src/main/java/org/apache/royale/compiler/internal/css/codegen/CSSReducer.java
b/compiler/src/main/java/org/apache/royale/compiler/internal/css/codegen/CSSReducer.java
index 171f1c9..4f26684 100644
--- a/compiler/src/main/java/org/apache/royale/compiler/internal/css/codegen/CSSReducer.java
+++ b/compiler/src/main/java/org/apache/royale/compiler/internal/css/codegen/CSSReducer.java
@@ -462,7 +462,7 @@ public class CSSReducer implements ICSSCodeGenResult
         }
         else if (value instanceof CSSRgbaColorPropertyValue)
         {
-            valueInstructions.addInstruction(ABCConstants.OP_pushint, new Long(((CSSRgbaColorPropertyValue)value).getColorAsLong()));
+            valueInstructions.addInstruction(ABCConstants.OP_pushuint, new Long(((CSSRgbaColorPropertyValue)value).getColorAsLong()));
         }
         else if (value instanceof CSSKeywordPropertyValue)
         {

-- 
To stop receiving notification emails like this one, please contact
aharui@apache.org.

Mime
View raw message