An update will be applied today, Nov30th, between 12PM and 1:00PM EST (UTC -5:00). The site may be slow during that time.

Commit 322fb5e9 authored by David C. Lonie's avatar David C. Lonie
Browse files

Fix warning in matplotlib rendering.

See warning at bottom of:
http://open.cdash.org/viewBuildError.php?type=1&onlydeltap&buildid=2741779

Change-Id: Ib094e2f0d7a8ae6c3a591aadcb853222c598c40f
parent 54afe326
...@@ -675,7 +675,8 @@ bool vtkMatplotlibMathTextUtilities::RenderString(const char *str, ...@@ -675,7 +675,8 @@ bool vtkMatplotlibMathTextUtilities::RenderString(const char *str,
textDims[1] = rows; textDims[1] = rows;
} }
int bbox[4] = {0, cols - 1, 0, rows - 1}; int bbox[4] = {0, static_cast<int>(cols - 1),
0, static_cast<int>(rows - 1)};
this->PrepareImageData(image, bbox); this->PrepareImageData(image, bbox);
for (long int row = rows-1; row >= 0; --row) for (long int row = rows-1; row >= 0; --row)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment