diff options
| author | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2022-04-21 20:47:04 +0300 |
|---|---|---|
| committer | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2022-04-21 20:47:04 +0300 |
| commit | 369e1efeab53ea050ac9bbfa3b623f84c6be14a7 (patch) | |
| tree | 914dccd88c5c5ccdbcc349910f1f11b5f96ae412 /src/libecbor/ecbor_internal.h | |
| parent | f6337e1268374f4cb1e1f72cd7df8bbedc4d4302 (diff) | |
Fix compilation warnings.
Diffstat (limited to 'src/libecbor/ecbor_internal.h')
| -rw-r--r-- | src/libecbor/ecbor_internal.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libecbor/ecbor_internal.h b/src/libecbor/ecbor_internal.h index 9612c1a..c237f91 100644 --- a/src/libecbor/ecbor_internal.h +++ b/src/libecbor/ecbor_internal.h @@ -41,7 +41,7 @@ enum { }; /* Static item, for various initializations */ -static ecbor_item_t null_item = { +static const ecbor_item_t null_item = { .type = ECBOR_TYPE_NONE, .value = { .tag = { @@ -135,4 +135,4 @@ ecbor_fp64_to_big_endian (double value); extern void ecbor_memcpy (void *dest, void *src, size_t num); -#endif
\ No newline at end of file +#endif |
