DRIVE_Init: Use strtoulW to initialize the drive serial number.
This commit is contained in:
parent
6a88716104
commit
6e9ae17bf7
|
@ -270,7 +270,7 @@ int DRIVE_Init(void)
|
||||||
|
|
||||||
/* Get the serial number */
|
/* Get the serial number */
|
||||||
PROFILE_GetWineIniString( name, SerialW, def_serialW, buffer, 80 );
|
PROFILE_GetWineIniString( name, SerialW, def_serialW, buffer, 80 );
|
||||||
drive->serial_conf = strtolW( buffer, NULL, 16 );
|
drive->serial_conf = strtoulW( buffer, NULL, 16 );
|
||||||
|
|
||||||
/* Get the filesystem type */
|
/* Get the filesystem type */
|
||||||
PROFILE_GetWineIniString( name, FilesystemW, win95W, buffer, 80 );
|
PROFILE_GetWineIniString( name, FilesystemW, win95W, buffer, 80 );
|
||||||
|
|
Loading…
Reference in New Issue