diff options
| author | Jan Prudil <57442prudil@sstebrno.eu> | 2020-10-17 14:09:59 +0200 |
|---|---|---|
| committer | Jan Prudil <57442prudil@sstebrno.eu> | 2020-10-17 14:09:59 +0200 |
| commit | aadccc4206ea605719de789bc7c9c48557d02331 (patch) | |
| tree | 631f4d25f6c8bf6cefdcbe58f3ac9f61434b6402 /lib/std/event | |
| parent | 245d98d32dd29e80de9732f415a4731748008acf (diff) | |
| download | zig-aadccc4206ea605719de789bc7c9c48557d02331.tar.gz zig-aadccc4206ea605719de789bc7c9c48557d02331.zip | |
Make std.meta.Int accept a signedness parameter
Diffstat (limited to 'lib/std/event')
| -rw-r--r-- | lib/std/event/wait_group.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/event/wait_group.zig b/lib/std/event/wait_group.zig index f0222e7644..c59e3b233d 100644 --- a/lib/std/event/wait_group.zig +++ b/lib/std/event/wait_group.zig @@ -22,7 +22,7 @@ const Loop = std.event.Loop; pub const WaitGroup = WaitGroupGeneric(std.meta.bitCount(usize)); pub fn WaitGroupGeneric(comptime counter_size: u16) type { - const CounterType = std.meta.Int(false, counter_size); + const CounterType = std.meta.Int(.unsigned, counter_size); const global_event_loop = Loop.instance orelse @compileError("std.event.WaitGroup currently only works with event-based I/O"); |
