|
From: <wea...@us...> - 2010-09-16 16:45:50
|
Revision: 8704
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8704&view=rev
Author: weathergod
Date: 2010-09-16 16:45:43 +0000 (Thu, 16 Sep 2010)
Log Message:
-----------
change pointer offset from type int to size_t, which caused problems with showing very high res images.
This fixes bug ID 3054444.
Modified Paths:
--------------
branches/v1_0_maint/src/_image.cpp
Modified: branches/v1_0_maint/src/_image.cpp
===================================================================
--- branches/v1_0_maint/src/_image.cpp 2010-09-16 00:40:28 UTC (rev 8703)
+++ branches/v1_0_maint/src/_image.cpp 2010-09-16 16:45:43 UTC (rev 8704)
@@ -924,7 +924,7 @@
int rgba = A->dimensions[2] == 4;
double r, g, b, alpha;
- int offset = 0;
+ size_t offset = 0;
for (size_t rownum = 0; rownum < imo->rowsIn; rownum++)
{
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|