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