diff src/stringref.h @ 8072:ceb88c0a1abb

[gaim-migrate @ 8770] the 0-byte-string trick doesn't work on non-gcc compilers. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 11 Jan 2004 06:10:22 +0000
parents fa6395637e2c
children db62420a53a2
line wrap: on
line diff
--- a/src/stringref.h	Sun Jan 11 03:23:55 2004 +0000
+++ b/src/stringref.h	Sun Jan 11 06:10:22 2004 +0000
@@ -42,7 +42,7 @@
 					 *   for GC at the next idle handler...
 					 *   But you aren't going to touch this
 					 *   anyway, right? */
-	char value[0];	/**< The string contained in this ref.
+	char value[1];	/**< The string contained in this ref.
 					 *   Notice that it is simply "hanging
 					 *   off the end" of the ref ... this
 					 *   is to save an allocation. */