Skip to content

Commit

Permalink
adds missing casting
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl authored and szymach committed Aug 5, 2022
1 parent aad137b commit 3412065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Draw.php
Original file line number Diff line number Diff line change
Expand Up @@ -1484,7 +1484,7 @@ public function drawAntialiasPixel($X, $Y, array $Format = [])
}

$PlotColor = $this->allocateColor($this->Picture, $R, $G, $B, $Alpha);
imagesetpixel($this->Picture, $X, $Y, $PlotColor);
imagesetpixel($this->Picture, (int) $X, (int) $Y, $PlotColor);

return 0;
}
Expand Down

0 comments on commit 3412065

Please sign in to comment.