This website works better with JavaScript.
Home
Explore
Help
Sign In
felix
/
ftb
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
small fix in array lists
banana-cakes
FelixBrendel
6 years ago
parent
7b128b33c9
commit
60e3253036
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
arraylist.hpp
+ 1
- 1
arraylist.hpp
View File
@@ -52,7 +52,7 @@ struct Array_List {
}
void reserve(unsigned int count) {
if (next_index+count
<
= (unsigned int)length) {
if (next_index+count
>
= (unsigned int)length) {
length *= 2;
data = (type*)realloc(data, length * sizeof(type));
}
Write
Preview
Loading…
Cancel
Save