Skip to content

Commit 45f82ba

Browse files
committed
msvs: fix one warning
1 parent 27102cb commit 45f82ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/agg/include/agg/agg_color_rgba.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ namespace agg
743743
//--------------------------------------------------------------------
744744
static AGG_INLINE double to_double(value_type a)
745745
{
746-
return double(a) / base_mask;
746+
return double(a) / int(base_mask);
747747
}
748748

749749
//--------------------------------------------------------------------

0 commit comments

Comments
 (0)