Index: fpdfsdk/formfiller/cffl_formfiller.cpp |
diff --git a/fpdfsdk/formfiller/cffl_formfiller.cpp b/fpdfsdk/formfiller/cffl_formfiller.cpp |
index 732ea86c4efa2931b5c5e1b94542c272b0ba9977..ff7bf86449ba551a32b7a960fd4c8d41cb1013e1 100644 |
--- a/fpdfsdk/formfiller/cffl_formfiller.cpp |
+++ b/fpdfsdk/formfiller/cffl_formfiller.cpp |
@@ -13,7 +13,7 @@ |
#include "fpdfsdk/include/pdfwindow/PWL_Utils.h" |
#define GetRed(rgb) ((uint8_t)(rgb)) |
-#define GetGreen(rgb) ((uint8_t)(((FX_WORD)(rgb)) >> 8)) |
+#define GetGreen(rgb) ((uint8_t)(((uint16_t)(rgb)) >> 8)) |
#define GetBlue(rgb) ((uint8_t)((rgb) >> 16)) |
#define FFL_HINT_ELAPSE 800 |