Arjen de Korte
2011-Jan-26 15:57 UTC
[Nut-upsdev] [nut-commits] svn commit r2854 - branches/windows_port/common
Citeren Frederic BOHE <fbohe-guest op alioth.debian.org>:> - res = w32_serial_read(fd,buf,buflen,timeout); > + res = w32_serial_read((serial_handler_t *)fd,buf,buflen,timeout);Rather than casting away the const (which may not be possible with certain strict compiler flags), it is better to modify the prototype and definition of this function to take a 'const serial_handler_t *fd' instead. Best regards, Arjen -- Please keep list traffic on the list (off-list replies will be rejected)
Maybe Matching Threads
- [nut-commits] svn commit r2705 - branches/windows_port/drivers
- [nut-commits] svn commit r2853 - in branches/windows_port: drivers include
- [nut-commits] svn commit r2839 - branches/windows_port/scripts/Windows
- [nut-commits] svn commit r2940 - in branches/windows_port/scripts/Windows/Installer
- [nut-commits] svn commit r3554 - branches/windows_port/common