mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:03:00 +00:00
Fix buggy expansion (signed/unsigned) of InitiatorBusID.
svn path=/trunk/; revision=7964
This commit is contained in:
parent
ed7963440d
commit
927fc7ad03
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
/* $Id: scsiport.c,v 1.45 2003/11/17 02:12:50 hyperion Exp $
|
||||
/* $Id: scsiport.c,v 1.46 2004/02/01 16:02:35 ekohl Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -2420,7 +2420,7 @@ SpiBuildDeviceMap (PSCSI_PORT_DEVICE_EXTENSION DeviceExtension,
|
|||
DeviceExtension->PortConfig->InitiatorBusId[BusNumber]);
|
||||
swprintf(NameBuffer,
|
||||
L"Initiator Id %u",
|
||||
DeviceExtension->PortConfig->InitiatorBusId[BusNumber]);
|
||||
(unsigned int)(UCHAR)DeviceExtension->PortConfig->InitiatorBusId[BusNumber]);
|
||||
RtlInitUnicodeString(&KeyName,
|
||||
NameBuffer);
|
||||
InitializeObjectAttributes(&ObjectAttributes,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue