mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-19 05:59:05 +03:00
missing cast for coap_encodevar_safe() conversion
This commit is contained in:
1 parent
6ea51c8a03
commit
d0dfa0b7c0
1 file changed
+1
-1
@@ -90,7 +90,7 @@ unsigned int coap_encode_var_safe(uint8_t *buf,
|
||||
COAP_STATIC_INLINE COAP_DEPRECATED int
|
||||
coap_encode_var_bytes(uint8_t *buf, unsigned int value
|
||||
) {
|
||||
return coap_encode_var_safe(buf, sizeof(value), value);
|
||||
return (int)coap_encode_var_safe(buf, sizeof(value), value);
|
||||
}
|
||||
|
||||
#endif /* _COAP_ENCODE_H_ */
|
||||
Reference in new issue
Block a user