summaryrefslogtreecommitdiff
path: root/strings/decimal.c
diff options
context:
space:
mode:
Diffstat (limited to 'strings/decimal.c')
-rw-r--r--strings/decimal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/strings/decimal.c b/strings/decimal.c
index 74b8d2ed8e5..c64fe189565 100644
--- a/strings/decimal.c
+++ b/strings/decimal.c
@@ -739,7 +739,7 @@ int decimal_shift(decimal_t *dec, int shift)
/*
If there are gaps then fill ren with 0.
- Only one of following 'for' loops will work becouse beg <= end
+ Only one of following 'for' loops will work because beg <= end
*/
beg= ROUND_UP(beg + 1) - 1;
end= ROUND_UP(end) - 1;
@@ -863,7 +863,7 @@ internal_str2dec(const char *from, decimal_t *to, char **end, my_bool fixed)
intg=intg1*DIG_PER_DEC1;
}
}
- /* Error is guranteed to be set here */
+ /* Error is guaranteed to be set here */
to->intg=intg;
to->frac=frac;