diff options
| author | gingerBill <gingerBill@users.noreply.github.com> | 2018-09-14 17:48:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-09-14 17:48:34 +0100 |
| commit | c62cfddb9ca10dfc0fa40b57143f627e425b605a (patch) | |
| tree | bbdcf847bc0c95be399d5dcfa7ed18e0d2ab2f93 /src | |
| parent | f1e1814ff91ab0753891536442797ff8544e6b6c (diff) | |
| parent | 14a4c28f8f8692dbe759060efba4b7f1a5f8eb24 (diff) | |
Merge pull request #263 from hasenj/master
fix macos thread_count value
Diffstat (limited to 'src')
| -rw-r--r-- | src/gb/gb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gb/gb.h b/src/gb/gb.h index 77990bbca..79cb32d76 100644 --- a/src/gb/gb.h +++ b/src/gb/gb.h @@ -5022,7 +5022,8 @@ isize gb_affinity_thread_count_for_core(gbAffinity *a, isize core) { #elif defined(GB_SYSTEM_OSX) void gb_affinity_init(gbAffinity *a) { - usize count, count_size = gb_size_of(count); + usize count = 0; + usize count_size = sizeof(count); a->is_accurate = false; a->thread_count = 1; |