summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xqxldod/driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qxldod/driver.cpp b/qxldod/driver.cpp
index bdf4c04..87ffbe6 100755
--- a/qxldod/driver.cpp
+++ b/qxldod/driver.cpp
@@ -659,7 +659,7 @@ void DebugPrintFuncSerial(const char *format, ...)
}
if (len)
{
- WRITE_PORT_BUFFER_UCHAR(RHEL_DEBUG_PORT, (PUCHAR)buf, len);
+ WRITE_PORT_BUFFER_UCHAR(RHEL_DEBUG_PORT, (PUCHAR)buf, (ULONG)len);
WRITE_PORT_UCHAR(RHEL_DEBUG_PORT, '\r');
}
}