Author: akhaldi
Date: Mon Sep 2 22:43:37 2013
New Revision: 59968
URL:
http://svn.reactos.org/svn/reactos?rev=59968&view=rev
Log:
[SMLIB]
* Fix some print specifiers.
Modified:
trunk/reactos/lib/smlib/execpgm.c
trunk/reactos/lib/smlib/lookupss.c
Modified: trunk/reactos/lib/smlib/execpgm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/smlib/execpgm.c?rev=59…
==============================================================================
--- trunk/reactos/lib/smlib/execpgm.c [iso-8859-1] (original)
+++ trunk/reactos/lib/smlib/execpgm.c [iso-8859-1] Mon Sep 2 22:43:37 2013
@@ -36,7 +36,7 @@
SM_PORT_MESSAGE SmReqMsg;
- DPRINT("SMLIB: %s(%08lx,'%S') called\n",
+ DPRINT("SMLIB: %s(%p,'%S') called\n",
__FUNCTION__, hSmApiPort, Pgm->Buffer);
/* Check Pgm's length */
@@ -63,7 +63,7 @@
" u2.s2.Type = %d\n"
" u1.s1.DataLength = %d\n"
" u1.s1.TotalLength = %d\n"
- " sizeof(PORT_MESSAGE)==%d\n",
+ " sizeof(PORT_MESSAGE)==%u\n",
__FUNCTION__,
SmReqMsg.Header.u2.s2.Type,
SmReqMsg.Header.u1.s1.DataLength,
Modified: trunk/reactos/lib/smlib/lookupss.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/smlib/lookupss.c?rev=5…
==============================================================================
--- trunk/reactos/lib/smlib/lookupss.c [iso-8859-1] (original)
+++ trunk/reactos/lib/smlib/lookupss.c [iso-8859-1] Mon Sep 2 22:43:37 2013
@@ -84,9 +84,9 @@
& ResultLength);
if(NT_SUCCESS(Status))
{
- DPRINT("nkvpi.TitleIndex = %ld\n", kvpi->TitleIndex);
- DPRINT("kvpi.Type = %ld\n", kvpi->Type);
- DPRINT("kvpi.DataLength = %ld\n", kvpi->DataLength);
+ DPRINT("nkvpi.TitleIndex = %lu\n", kvpi->TitleIndex);
+ DPRINT("kvpi.Type = %lu\n", kvpi->Type);
+ DPRINT("kvpi.DataLength = %lu\n", kvpi->DataLength);
if((NULL != Data) && (NULL != DataLength) && (NULL != DataType))
{