summaryrefslogtreecommitdiff
path: root/StdLib
diff options
context:
space:
mode:
Diffstat (limited to 'StdLib')
-rw-r--r--StdLib/LibC/gdtoa/strtof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/StdLib/LibC/gdtoa/strtof.c b/StdLib/LibC/gdtoa/strtof.c
index 44a4cb3746..3b4b52cdc5 100644
--- a/StdLib/LibC/gdtoa/strtof.c
+++ b/StdLib/LibC/gdtoa/strtof.c
@@ -50,7 +50,7 @@ strtof(CONST char *s, char **sp)
ULong bits[1];
Long expt;
int k;
- union { ULong L[1]; float f; } u = { 0 };
+ union { ULong L[1]; float f; } u = { { 0 } };
k = strtodg(s, sp, &fpi, &expt, bits);
if (k == STRTOG_NoMemory) {