瀏覽代碼

fix build

ambrop7 14 年之前
父節點
當前提交
f11aef5b8f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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')
     
-    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)) {
         return 0;