Skip to content

Commit

Permalink
v1.9.1
Browse files Browse the repository at this point in the history
Fixing casting issue in quantizer on 64bit processors
  • Loading branch information
JimBobSquarePants committed May 22, 2014
1 parent c8288ce commit 7d9b5aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build/Build.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@ECHO OFF
SET version=1.9.0.0
SET version=1.9.1.0
SET webversion=3.2.4.0
SET webconfigversion=1.1.0.0

Expand Down
2 changes: 1 addition & 1 deletion src/ImageProcessor/Imaging/Quantizer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ protected virtual void FirstPass(BitmapData sourceData, int width, int height)
for (int col = 0; col < width; col++)
{
this.InitialQuantizePixel(new Color32(sourcePixel));
sourcePixel = (IntPtr)((int)sourcePixel + this.pixelSize);
sourcePixel = (IntPtr)((long)sourcePixel + this.pixelSize);
}

// Now I have the pixel, call the FirstPassQuantize function...
Expand Down
4 changes: 2 additions & 2 deletions src/ImageProcessor/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("1.9.0.0")]
[assembly: AssemblyFileVersion("1.9.0.0")]
[assembly: AssemblyVersion("1.9.1.0")]
[assembly: AssemblyFileVersion("1.9.1.0")]

0 comments on commit 7d9b5aa

Please sign in to comment.