]> Kevux Git Server - fll/commitdiff
Bugfix: fix invalid f_string_lengths initializer
authorKevin Day <kevin@kevux.org>
Thu, 7 Jun 2012 04:49:12 +0000 (23:49 -0500)
committerKevin Day <kevin@kevux.org>
Thu, 7 Jun 2012 04:49:12 +0000 (23:49 -0500)
This should initialize to 0 and not the f_string_length_initializer because it is a pointer.

level_0/f_strings/c/strings.h

index 546ccf37ee7c8f6a33ff40863b0186d5601055e7..b7382da2bbbf51edcaedb867f928aa902a547739 100644 (file)
@@ -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)