From f70ee68ed9eeddfabca389b03764ead541373da7 Mon Sep 17 00:00:00 2001 From: Adam Millerchip Date: Sat, 1 Jan 2022 12:39:23 +0900 Subject: [PATCH] 66 --- exercises/066_comptime.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/066_comptime.zig b/exercises/066_comptime.zig index bcd0bc5..254869c 100644 --- a/exercises/066_comptime.zig +++ b/exercises/066_comptime.zig @@ -61,8 +61,8 @@ pub fn main() void { // values. Therefore, it follows that we just specify numeric // types with specific sizes. The comptime numbers will be // coerced (if they'll fit!) into your chosen runtime types. - var var_int = 12345; - var var_float = 987.654; + var var_int: u32 = 12345; + var var_float: f32 = 987.654; // We can change what is stored at the areas set aside for // "var_int" and "var_float" in the running compiled program.