Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f2308fc

Browse 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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/_macosx.m

Lines 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)