mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-19 07:01:09 +00:00
etcpak: Fix simple_array operator[] parameter type.
DONT_BUILD. git-svn-id: https://svn.eduke32.com/eduke32@5840 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
bf41fc91b0
commit
1fc836fa21
1 changed files with 2 additions and 2 deletions
|
@ -24,11 +24,11 @@ struct simple_array
|
||||||
memset(data, 0, sizeof(data));
|
memset(data, 0, sizeof(data));
|
||||||
}
|
}
|
||||||
|
|
||||||
T operator [](int i) const
|
T operator [](size_t i) const
|
||||||
{
|
{
|
||||||
return data[i];
|
return data[i];
|
||||||
}
|
}
|
||||||
T & operator [](int i)
|
T & operator [](size_t i)
|
||||||
{
|
{
|
||||||
return data[i];
|
return data[i];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue