1
0
Fork 0
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:
Andy Green 2021-05-22 13:33:11 +01:00
parent eef783631f
commit 8a540be959

View file

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