From: Kevin Day Date: Thu, 7 Jun 2012 04:49:12 +0000 (-0500) Subject: Bugfix: fix invalid f_string_lengths initializer X-Git-Tag: 0.3.0~20 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=2f5bfbadaacac116b798e42fc5cebd44a3caa1f7;p=fll Bugfix: fix invalid f_string_lengths initializer This should initialize to 0 and not the f_string_length_initializer because it is a pointer. --- 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)