1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-04 21:04:18 +01:00

fixed compilation probs with SGI cc

This commit is contained in:
kojima
2001-01-06 01:52:27 +00:00
parent d9540f37bf
commit 3874f848c1
4 changed files with 9 additions and 9 deletions

View File

@@ -34,10 +34,10 @@ void *valueForCell(WMTableViewDelegate *self, WMTableColumn *column, int row)
col2[i] = 0;
}
}
if (WMGetTableColumnId(column) == 1)
if ((int)WMGetTableColumnId(column) == 1)
return col1[row];
else
return col2[row];
return (void*)col2[row];
}
@@ -47,7 +47,7 @@ void setValueForCell(WMTableViewDelegate *self, WMTableColumn *column, int row,
if (WMGetTableColumnId(column) == 1)
col1[row] = data;
else
col2[row] = data;
col2[row] = (int)data;
}