1
0
Fork 0
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:
Andy Green 2021-05-22 13:33:11 +01:00
parent 2197c2eafc
commit 212690fb23

View file

@ -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