From 2f5bfbadaacac116b798e42fc5cebd44a3caa1f7 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Wed, 6 Jun 2012 23:49:12 -0500 Subject: [PATCH] Bugfix: fix invalid f_string_lengths initializer This should initialize to 0 and not the f_string_length_initializer because it is a pointer. --- level_0/f_strings/c/strings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_0/f_strings/c/strings.h b/level_0/f_strings/c/strings.h index 546ccf3..b7382da 100644 --- a/level_0/f_strings/c/strings.h +++ b/level_0/f_strings/c/strings.h @@ -109,7 +109,7 @@ extern "C"{ f_array_length used; // total number of allocated spaces used } f_string_lengths; - #define f_string_lengths_initialize { f_string_length_initialize, f_array_length_initialize, f_array_length_initialize } + #define f_string_lengths_initialize { 0, f_array_length_initialize, f_array_length_initialize } #define f_delete_string_lengths(status, lengths) \ f_delete_structure(status, lengths, f_string_length) -- 1.8.3.1