aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Gates <tim.gates@iress.com>2020-12-15 06:49:42 +1100
committerLev Walkin <vlm@lionet.info>2021-04-17 15:02:10 -0700
commit4195e8f96106f6cffbe7d8e694343ea9765609d2 (patch)
tree9c05ba37681d09848fef54632eaa34ab9dc0642e
parent00fa516f3c6ab247c263df6828143c34b1fbffa4 (diff)
docs: fix simple typo, occured -> occurred
There is a small typo in skeletons/NativeInteger.c, skeletons/NativeReal.c, skeletons/REAL.h. Should read `occurred` rather than `occured`.
-rw-r--r--skeletons/NativeInteger.c2
-rw-r--r--skeletons/NativeReal.c2
-rw-r--r--skeletons/REAL.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/skeletons/NativeInteger.c b/skeletons/NativeInteger.c
index f1724375..d6b73940 100644
--- a/skeletons/NativeInteger.c
+++ b/skeletons/NativeInteger.c
@@ -109,7 +109,7 @@ NativeInteger_decode_ber(const asn_codec_ctx_t *opt_codec_ctx,
/*
* ASN.1 encoded INTEGER: buf_ptr, length
* Fill the native, at the same time checking for overflow.
- * If overflow occured, return with RC_FAIL.
+ * If overflow occurred, return with RC_FAIL.
*/
{
INTEGER_t tmp;
diff --git a/skeletons/NativeReal.c b/skeletons/NativeReal.c
index b1d1a7ed..4fcba394 100644
--- a/skeletons/NativeReal.c
+++ b/skeletons/NativeReal.c
@@ -120,7 +120,7 @@ NativeReal_decode_ber(const asn_codec_ctx_t *opt_codec_ctx,
/*
* ASN.1 encoded REAL: buf_ptr, length
* Fill the Dbl, at the same time checking for overflow.
- * If overflow occured, return with RC_FAIL.
+ * If overflow occurred, return with RC_FAIL.
*/
{
uint8_t scratch[24]; /* Longer than %.16f in decimal */
diff --git a/skeletons/REAL.h b/skeletons/REAL.h
index d71147ab..26bedfb9 100644
--- a/skeletons/REAL.h
+++ b/skeletons/REAL.h
@@ -42,7 +42,7 @@ ssize_t REAL__dump(double d, int canonical, asn_app_consume_bytes_f *cb, void *a
* Convert between native double type and REAL representation (DER).
* RETURN VALUES:
* 0: Value converted successfully
- * -1: An error occured while converting the value: invalid format.
+ * -1: An error occurred while converting the value: invalid format.
*/
int asn_REAL2double(const REAL_t *real_ptr, double *d);
int asn_double2REAL(REAL_t *real_ptr, double d);