We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9fa258 commit 6e17072Copy full SHA for 6e17072
src/Magick.NET/Pixels/PixelCollection.cs
@@ -231,7 +231,7 @@ public virtual void SetPixels(QuantumType[] values)
231
if (pixels == IntPtr.Zero)
232
throw new InvalidOperationException("Image contains no pixel data.");
233
234
- return QuantumConverter.ToArray(pixels, (int)length);
+ return QuantumConverter.ToArray(pixels, (uint)length);
235
}
236
237
internal void SetPixelUnchecked(int x, int y, QuantumType[] value)
0 commit comments