projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d4cdd2
)
Fixed format string.
author
Armin Novak
<armin.novak@thincast.com>
Wed, 2 Oct 2019 14:01:36 +0000
(16:01 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Wed, 2 Oct 2019 14:01:36 +0000
(16:01 +0200)
channels/printer/client/printer_main.c
patch
|
blob
|
history
diff --git
a/channels/printer/client/printer_main.c
b/channels/printer/client/printer_main.c
index
b006a49
..
a4c5f30
100644
(file)
--- a/
channels/printer/client/printer_main.c
+++ b/
channels/printer/client/printer_main.c
@@
-885,7
+885,7
@@
static UINT printer_register(PDEVICE_SERVICE_ENTRY_POINTS pEntryPoints,
if (!printer_dev->device.data)
goto error_out;
- sprintf_s(printer_dev->port, sizeof(printer_dev->port), "PRN%
d"
, printer->id);
+ sprintf_s(printer_dev->port, sizeof(printer_dev->port), "PRN%
"PRIdz
, printer->id);
printer_dev->device.type = RDPDR_DTYP_PRINT;
printer_dev->device.name = printer_dev->port;
printer_dev->device.IRPRequest = printer_irp_request;