summaryrefslogtreecommitdiffstats
path: root/pablo/PabloHDF.c
diff options
context:
space:
mode:
authorDan Wells <dwells@cs.uiuc.edu>1998-11-03 19:48:54 (GMT)
committerDan Wells <dwells@cs.uiuc.edu>1998-11-03 19:48:54 (GMT)
commit09a871339d86af0c75d9cff8c28fcd3fa76e5e95 (patch)
tree63907a5f1c07cd21471c1a432291edcbdd534c10 /pablo/PabloHDF.c
parent3039dac9dc5335b2c50608ad6a4503644d47f5d7 (diff)
downloadhdf5-09a871339d86af0c75d9cff8c28fcd3fa76e5e95.zip
hdf5-09a871339d86af0c75d9cff8c28fcd3fa76e5e95.tar.gz
hdf5-09a871339d86af0c75d9cff8c28fcd3fa76e5e95.tar.bz2
[svn-r865] Modifications required for 64 bit longs.
Diffstat (limited to 'pablo/PabloHDF.c')
-rw-r--r--pablo/PabloHDF.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pablo/PabloHDF.c b/pablo/PabloHDF.c
index 36bf0df..5c4cc73 100644
--- a/pablo/PabloHDF.c
+++ b/pablo/PabloHDF.c
@@ -836,8 +836,8 @@ int HDFtraceFPUTS( const char *s, FILE *stream )
void *HDFtraceMALLOC(size_t bytes )
{
void *ptr;
- size_t byte_req;
- byte_req = bytes;
+ int byte_req;
+ byte_req = (int)bytes;
if ( IOtracingEnabled ) {
HDFtraceIOEvent ( ID_malloc, NULL, 0 );
}
@@ -845,7 +845,7 @@ void *HDFtraceMALLOC(size_t bytes )
ptr = malloc( bytes );
if ( IOtracingEnabled ) {
- HDFtraceIOEvent ( -ID_malloc, &byte_req, sizeof(size_t) );
+ HDFtraceIOEvent ( -ID_malloc, &byte_req, sizeof(int) );
}
return ptr ;