GetLastError() returns a DWORD so it's an unsigned int. Fixes #9.
GetLastError() returns a DWORD so it's an unsigned int. Fixes #9.

The error reported by #9 was already fixed in master but this change
scrupulously respects the definition of DWORD.

sstiller/libmodbus,chenzhouneng/libmodbus,marinbek/libmodbus,charlie-x/libmodbus,mhei/libmodbus,charlie-x/libmodbus,vb2685/modbus,cukier/libmodbus,stephane/libmodbus,dhruvvyas90/libmodbus,charlie-x/libmodbus,stephane/libmodbus,cukier/libmodbus,vb2685/modbus,marinbek/libmodbus,xtypebee/libmodbus,poulacou/libmodbus,mhei/libmodbus,mhei/libmodbus,itiserik/libmodbus,cmcmurrough/libmodbus,wysman/libmodbus,killdaclick/libmodbus,SystemTera/libmodbus,cmcmurrough/libmodbus,xtypebee/libmodbus,killdaclick/libmodbus,vb2685/modbus,cmcmurrough/libmodbus,sstiller/libmodbus,wysman/libmodbus,sdwuyawen/libmodbus,OliverDDS/libmodbus,hmoraes/libmodbus,sdwuyawen/libmodbus,chenzhouneng/libmodbus,sdwuyawen/libmodbus,chenzhouneng/libmodbus,stephane/libmodbus,dhruvvyas90/libmodbus,sureforce/new,itiserik/libmodbus,wablair/libmodbus,killdaclick/libmodbus,hmoraes/libmodbus,SystemTera/libmodbus,wysman/libmodbus,dhruvvyas90/libmodbus,sureforce/new,OliverDDS/libmodbus,itiserik/libmodbus,sureforce/new,sstiller/libmodbus,wablair/libmodbus,giangdo/modbusMSim,cukier/libmodbus,OliverDDS/libmodbus,SystemTera/libmodbus,poulacou/libmodbus,marinbek/libmodbus,hmoraes/libmodbus,poulacou/libmodbus,xtypebee/libmodbus,wablair/libmodbus