mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-30 00:00:16 +01:00
smd_queue_depth: cast around toolchain int16_t conv warning
This commit is contained in:
parent
eef783631f
commit
8a540be959
1 changed files with 3 additions and 3 deletions
|
@ -642,12 +642,12 @@ lws_create_context(const struct lws_context_creation_info *info)
|
||||||
#else
|
#else
|
||||||
2000000;
|
2000000;
|
||||||
#endif
|
#endif
|
||||||
context->smd_queue_depth = info->smd_queue_depth ?
|
context->smd_queue_depth = (uint16_t)(info->smd_queue_depth ?
|
||||||
info->smd_queue_depth :
|
info->smd_queue_depth :
|
||||||
#if defined(LWS_PLAT_FREERTOS)
|
#if defined(LWS_PLAT_FREERTOS)
|
||||||
20;
|
20);
|
||||||
#else
|
#else
|
||||||
40;
|
40);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue