Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
felix
/
ftb
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
small fix in array lists
banana-cakes
FelixBrendel
hace 6 años
padre
7b128b33c9
commit
60e3253036
Se han
modificado 1 ficheros
con
1 adiciones
y
1 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-1
arraylist.hpp
+ 1
- 1
arraylist.hpp
Ver fichero
@@ -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));
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar