Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f2308fc

Browse filesBrowse files
authored
Merge pull request #10519 from fvaccari/_macosx.m_snow_leopard
_macosx.m fails to compile on Mac OS 10.6.8 Snow Leopard - Issue #10516
2 parents 637b649 + ac1fd19 commit f2308fc
Copy full SHA for f2308fc

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎src/_macosx.m

Copy file name to clipboardExpand all lines: src/_macosx.m
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,9 @@ -(void)save_figure:(id)sender
13071307
}
13081308
Py_ssize_t list_index = 0;
13091309
PyObject* list = PyList_New(m);
1310-
for (size_t state_index = 0; state_index < n; state_index++)
1310+
1311+
size_t state_index;
1312+
for (state_index = 0; state_index < n; state_index++)
13111313
{
13121314
if(states[state_index]==1)
13131315
{

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.