浏览代码

fix accidental check-in of typo in stb_ds.h

Sean Barrett 10 月之前
父节点
当前提交
40adb995ab
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      stb_ds.h

+ 1 - 1
stb_ds.h

@@ -941,7 +941,7 @@ static stbds_hash_index *stbds_make_hash_index(size_t slot_count, stbds_hash_ind
   } else {
     size_t a,b,temp;
     memset(&t->string, 0, sizeof(t->string));
-    t->seed = stbds_BB;
+    t->seed = stbds_hash_seed;
     // LCG
     // in 32-bit, a =          2147001325   b =  715136305
     // in 64-bit, a = 2862933555777941757   b = 3037000493