mirror of
https://github.com/jfdelnero/HxCFloppyEmulator.git
synced 2026-10-27 06:20:50 +00:00
Potential fix for code scanning alert no. 22: Wrong type of arguments to formatting function
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
ef8e491a11
commit
0ed3232a6b
1 file changed
+1
-1
@@ -243,7 +243,7 @@ void printDev(struct Device* dev)
|
||||
printf("???"); break;
|
||||
}
|
||||
|
||||
printf(". Cylinders = %ld, Heads = %ld, Sectors = %ld",dev->cylinders,dev->heads,dev->sectors);
|
||||
printf(". Cylinders = %ld, Heads = %d, Sectors = %ld",dev->cylinders,dev->heads,dev->sectors);
|
||||
|
||||
printf(". Volumes = %d\n",dev->nVol);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user