Correct pointer types for GCC 14
Network transparent, client/server audio transport system
Brought to you by:
jon13
Now that GCC 14 is available, there is a new class of compile errors because GCC 14 became more sensitive to pointer types. An attached patch fixes it.
By the way, it seems there is a memory leak at
clients/audio/audemo/audemo.c:524. makeFileList() returns a newly
allocated list of file names, the list is passed to XawListChange(),
but then the list is never freed. libXaw prescribes that a list
passed to XawListChange() is used in place and must be kept available
for the lifetime of the widget, or until the list is replaced with
XawListChange(). A probable fix is assigning the newly allocated list
to globals->fileNames after returning from XawListChange(). This patch
does not address this leak.
Thanks for the patch, I've merged it to master.