Windows: osilog param size is size_t

The parameter size is size_t which permits pointers to be stored
on 32-bit and 64-bit systems.  Make sure we store it as size_t
instead of truncating to long.

Change-Id: I96aaf231eedef742095edf247dc1013e3d90257e
Reviewed-on: http://gerrit.openafs.org/3657
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Jeffrey Altman 2011-01-14 00:13:49 -05:00 committed by Jeffrey Altman
parent fa3584a48f
commit e50cab06c4

View File

@ -24,7 +24,7 @@ typedef struct osi_logEntry {
size_t tid; /* thread ID */
unsigned long micros; /* microsecond-based time stamp */
char *formatp; /* format string */
long parms[OSI_LOG_MAXPARMS]; /* parms */
size_t parms[OSI_LOG_MAXPARMS]; /* parms */
} osi_logEntry_t;
typedef struct osi_log {