summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Rozenfeld <vrozenfe@redhat.com>2014-01-02 20:47:56 +1100
committerVadim Rozenfeld <vrozenfe@redhat.com>2014-01-02 20:47:56 +1100
commitf15bf992ca7b097c77abb38c366f7207bf585fe3 (patch)
treed639ccdb961d1c6279ca06a24b84d0344fa1072e
parent10be00160db5ec6205b00b46f45a8e36d00ff6ec (diff)
fix compilation warning
-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');
}
}