]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Log_HexDump's second argument can/should be a const void *.
authorVMware, Inc <>
Mon, 15 Oct 2012 04:52:57 +0000 (21:52 -0700)
committerDmitry Torokhov <dtor@vmware.com>
Fri, 19 Oct 2012 18:32:41 +0000 (11:32 -0700)
Make it so.  That way we don't have to cast things at the callsite.
And remove some/most of the unnecessary typecasts while we're here.
And also make the third argument a size_t.

Signed-off-by: Dmitry Torokhov <dtor@vmware.com>
open-vm-tools/lib/include/log.h

index f0ac88b1ec1cf3dbc6aadc8bdf162428eace22df..0e11d8d88c1d720e54f55aecf998a35204c0b4b7 100644 (file)
@@ -271,8 +271,8 @@ void GuestLog_Log(const char *fmt,
  */
 
 void Log_HexDump(const char *prefix,
-                 const uint8 *data,
-                 int size);
+                 const void *data,
+                 size_t size);
 
 void Log_Time(VmTimeType *time,
               int count,