mirror of
https://github.com/Neo-Desktop/WindowsXPKg
synced 2025-12-02 16:25:13 +02:00
Add macOS and FreeBSD support and fix DJGPP build (#48)
This commit is contained in:
@@ -241,7 +241,7 @@ void CLI::printID(DWORD *pid) {
|
||||
int i, digit = 0;
|
||||
|
||||
// Convert PID to ascii-number (=raw)
|
||||
sprintf(raw, "%09u", pid[0]);
|
||||
snprintf(raw, sizeof(raw), "%09u", pid[0]);
|
||||
|
||||
// Make b-part {640-....}
|
||||
strncpy(b, raw, 3);
|
||||
|
||||
Reference in New Issue
Block a user