ambrop7 %!s(int64=14) %!d(string=hai) anos
pai
achega
f11aef5b8f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      misc/expstring.h

+ 1 - 1
misc/expstring.h

@@ -79,7 +79,7 @@ int ExpString_AppendChar (ExpString *c, char ch)
 {
 {
     ASSERT(ch != '\0')
     ASSERT(ch != '\0')
     
     
-    bszie_t newsize = bsize_add(bsize_fromsize(c->n, bsize_fromint(2)));
+    bsize_t newsize = bsize_add(bsize_fromsize(c->n), bsize_fromint(2));
     
     
     if (newsize.is_overflow || !ExpArray_resize(&c->arr, newsize.value)) {
     if (newsize.is_overflow || !ExpArray_resize(&c->arr, newsize.value)) {
         return 0;
         return 0;