const and missed rename
diff --git a/src/qcbor_decode.c b/src/qcbor_decode.c
index 2b987bb..693152f 100644
--- a/src/qcbor_decode.c
+++ b/src/qcbor_decode.c
@@ -144,7 +144,7 @@
    Works only for integer and string labels. Returns false
    for any other type. */
 static bool
-QCBORItem_MatchLabel(QCBORItem Item1, QCBORItem Item2)
+QCBORItem_MatchLabel(const QCBORItem Item1, const QCBORItem Item2)
 {
    if(Item1.uLabelType == QCBOR_TYPE_INT64) {
       if(Item2.uLabelType == QCBOR_TYPE_INT64 && Item1.label.int64 == Item2.label.int64) {
@@ -174,7 +174,7 @@
  or if either are of QCBOR_TYPE_ANY.
  */
 static bool
-QCBORItem_MatchType(QCBORItem Item1, QCBORItem Item2)
+QCBORItem_MatchType(const QCBORItem Item1, const QCBORItem Item2)
 {
    if(Item1.uDataType == Item2.uDataType) {
       return true;
@@ -2742,7 +2742,7 @@
 /*
  * Public function, see header qcbor/qcbor_decode.h file
  */
-// Improvement: make these inline?
+// Improvement: make these inline?  TODO:
 uint64_t
 QCBORDecode_GetNthTag(QCBORDecodeContext *pMe,
                       const QCBORItem    *pItem,
diff --git a/src/qcbor_encode.c b/src/qcbor_encode.c
index 365acdf..9117a7d 100644
--- a/src/qcbor_encode.c
+++ b/src/qcbor_encode.c
@@ -820,7 +820,7 @@
 
    QCBOREncode_Private_AddType7(pMe, (uint8_t)uNum.uSize, uNum.uValue);
 #else /* QCBOR_DISABLE_PREFERRED_FLOAT */
-   QCBOREncode_AddDoubleNoPreferred(me, dNum);
+   QCBOREncode_AddDoubleNoPreferred(pMe, dNum);
 #endif /* QCBOR_DISABLE_PREFERRED_FLOAT */
 }
 
@@ -848,7 +848,7 @@
 
    QCBOREncode_Private_AddType7(pMe, (uint8_t)uNum.uSize, uNum.uValue);
 #else /* QCBOR_DISABLE_PREFERRED_FLOAT */
-   QCBOREncode_AddFloatNoPreferred(me, fNum);
+   QCBOREncode_AddFloatNoPreferred(pMe, fNum);
 #endif /* QCBOR_DISABLE_PREFERRED_FLOAT */
 }
 #endif /* USEFULBUF_DISABLE_ALL_FLOAT */