On 6/28/23 11:24, David Laight wrote:
What are the (u16) casts for?
Well, this is a kind of a C language purism intended to silence
warning: conversion from ‘int’ to ‘u16’ {aka ‘short unsigned int’} may change value [-Wconversion]
observed with W=123.
Dmitry