Fix warnings on gcc 14.2.0.
This commit is contained in:
parent
02e0abfe5d
commit
82fa95f8cd
33 changed files with 115 additions and 112 deletions
kernel/x86-family
|
@ -542,10 +542,7 @@ GuestAdditions* GetGuestAdditions()
|
|||
|
||||
void Init()
|
||||
{
|
||||
pcifind_t pcifind;
|
||||
memset(&pcifind, 255, sizeof(pcifind));
|
||||
pcifind.vendorid = 0x80EE;
|
||||
pcifind.deviceid = 0xCAFE;
|
||||
pcifind_t pcifind(NULL, 0x80EE, 0xCAFE);
|
||||
|
||||
uint32_t devaddr = PCI::SearchForDevices(pcifind, 0);
|
||||
if ( !devaddr )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue