write correct number

This commit is contained in:
Kitteh 2021-06-01 10:42:10 +01:00
parent 9b51842ca5
commit 175fe0e692

View file

@ -2,5 +2,5 @@ const std = @import("std");
pub fn add_int(writer: anytype, number: u16) !void {
try writer.writeIntBig(u32, 10);
try writer.writeIntBig(u32, number);
}