werl: Fix x64 problems
werl: Fix x64 problems

Fix missed type conversions when ported to win64,
caused background to not be re-drawn in the correct color,
when changed.

vinoski/otp,electricimp/otp,vladdu/otp,isvilen/otp,rlipscombe/otp,ferd/otp,vinoski/otp,bjorng/otp,uabboli/otp,jj1bdx/otp,rlipscombe/otp,lrascao/otp,emacsmirror/erlang,ferd/otp,erlang/otp,getong/otp,rlipscombe/otp,erlang/otp,bjorng/otp,dgud/otp,bjorng/otp,isvilen/otp,emacsmirror/erlang,dumbbell/otp,ferd/otp,ferd/otp,vinoski/otp,jj1bdx/otp,potatosalad/otp,potatosalad/otp,emacsmirror/erlang,ferd/otp,dgud/otp,lrascao/otp,uabboli/otp,getong/otp,mikpe/otp,dgud/otp,rlipscombe/otp,isvilen/otp,emacsmirror/erlang,isvilen/otp,dgud/otp,erlang/otp,bjorng/otp,dumbbell/otp,ferd/otp,getong/otp,mikpe/otp,potatosalad/otp,potatosalad/otp,bjorng/otp,isvilen/otp,erlang/otp,jj1bdx/otp,isvilen/otp,vinoski/otp,emacsmirror/erlang,jj1bdx/otp,isvilen/otp,uabboli/otp,getong/otp,getong/otp,dumbbell/otp,mikpe/otp,jj1bdx/otp,rlipscombe/otp,bjorng/otp,dgud/otp,uabboli/otp,electricimp/otp,mikpe/otp,electricimp/otp,g-andrade/otp,jj1bdx/otp,ferd/otp,lrascao/otp,jj1bdx/otp,vladdu/otp,bjorng/otp,dumbbell/otp,rlipscombe/otp,mikpe/otp,kvakvs/otp,mikpe/otp,getong/otp,vinoski/otp,dgud/otp,g-andrade/otp,potatosalad/otp,kvakvs/otp,ferd/otp,isvilen/otp,g-andrade/otp,potatosalad/otp,emacsmirror/erlang,jj1bdx/otp,mikpe/otp,lrascao/otp,mikpe/otp,kvakvs/otp,dgud/otp,dumbbell/otp,dgud/otp,getong/otp,mikpe/otp,lrascao/otp,bjorng/otp,potatosalad/otp,bjorng/otp,uabboli/otp,kvakvs/otp,dumbbell/otp,erlang/otp,erlang/otp,getong/otp,jj1bdx/otp,dumbbell/otp,lrascao/otp,uabboli/otp,vinoski/otp,g-andrade/otp,erlang/otp,emacsmirror/erlang,vladdu/otp,dgud/otp,electricimp/otp,dumbbell/otp,uabboli/otp,electricimp/otp,rlipscombe/otp,dumbbell/otp,dumbbell/otp,kvakvs/otp,g-andrade/otp,dgud/otp,vladdu/otp,kvakvs/otp,kvakvs/otp,potatosalad/otp,electricimp/otp,vinoski/otp,g-andrade/otp,emacsmirror/erlang,mikpe/otp,vinoski/otp,potatosalad/otp,jj1bdx/otp,vinoski/otp,electricimp/otp,isvilen/otp,g-andrade/otp,g-andrade/otp,kvakvs/otp,vladdu/otp,vinoski/otp,lrascao/otp,g-andrade/otp,g-andrade/otp,rlipscombe/otp,getong/otp,erlang/otp,lrascao/otp,kvakvs/otp,vladdu/otp,vladdu/otp,uabboli/otp,vladdu/otp,lrascao/otp,potatosalad/otp,electricimp/otp,vladdu/otp,ferd/otp,bjorng/otp,electricimp/otp,emacsmirror/erlang,erlang/otp,rlipscombe/otp,emacsmirror/erlang,uabboli/otp,getong/otp,rlipscombe/otp,isvilen/otp,erlang/otp