Skip to content

Commit

Permalink
nanocbor: Use inttypes for uint8_t etc
Browse files Browse the repository at this point in the history
  • Loading branch information
bergzand committed Nov 24, 2023
1 parent 54e8938 commit 7eb2b15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/nanocbor/nanocbor.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
#ifndef NANOCBOR_NANOCBOR_H
#define NANOCBOR_NANOCBOR_H

#include <inttypes.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>

#ifdef __cplusplus
Expand Down Expand Up @@ -448,7 +448,7 @@ int nanocbor_get_tstr(nanocbor_value_t *cvalue, const uint8_t **buf,
* @return NANOCBOR_OK if @p key was found
* @return negative on error / not found
*/
int nanocbor_get_key_tstr(nanocbor_value_t *start, const char *key,
int nanocbor_get_key_tstr(const nanocbor_value_t *start, const char *key,
nanocbor_value_t *value);

/**
Expand Down

0 comments on commit 7eb2b15

Please sign in to comment.