Skip to content

Commit

Permalink
chore: Use more standard uint type
Browse files Browse the repository at this point in the history
  • Loading branch information
robloo committed Sep 4, 2020
1 parent 8d9e90a commit c53316a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ public void RaisePropertyChangedEvent(Color oldColor, Color newColor, Vector4 ol

private string GetValueString(Color color, Vector4 hsvColor)
{
var hue = (UInt32)(Math.Round(Hsv.GetHue(hsvColor)));
var saturation = (UInt32)(Math.Round(Hsv.GetSaturation(hsvColor) * 100));
var value = (UInt32)(Math.Round(Hsv.GetValue(hsvColor) * 100));
var hue = (uint)Math.Round(Hsv.GetHue(hsvColor));
var saturation = (uint)Math.Round(Hsv.GetSaturation(hsvColor) * 100);
var value = (uint)Math.Round(Hsv.GetValue(hsvColor) * 100);

if (DownlevelHelper.ToDisplayNameExists())
{
Expand Down

0 comments on commit c53316a

Please sign in to comment.