summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Wells <dwells@cs.uiuc.edu>1999-04-29 21:15:12 (GMT)
committerDan Wells <dwells@cs.uiuc.edu>1999-04-29 21:15:12 (GMT)
commit2afd49c4c7c5ee1c6bf9e37b9be9709343728c88 (patch)
treeb78b07bae7e2abacce3543da30557d17d9f5e0a4
parent18d325e35fd17fbf24f4d31d63d025bb73052b7e (diff)
downloadhdf5-2afd49c4c7c5ee1c6bf9e37b9be9709343728c88.zip
hdf5-2afd49c4c7c5ee1c6bf9e37b9be9709343728c88.tar.gz
hdf5-2afd49c4c7c5ee1c6bf9e37b9be9709343728c88.tar.bz2
[svn-r1238] prototype change in Pablo trace library
-rw-r--r--pablo/PabloHDF.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/pablo/PabloHDF.c b/pablo/PabloHDF.c
index b5e79da..512a984 100644
--- a/pablo/PabloHDF.c
+++ b/pablo/PabloHDF.c
@@ -141,7 +141,6 @@ void startHDFtraceEvent (int );
int computeProcMask (int eventID);
int computePacketTag(int eventID);
void endHDFtraceEvent (int , int , char *, int );
-void traceEvent ( int , char *, unsigned );
void HDFtraceEvent_RT ( int , HDFsetInfo *, unsigned );
void HDFtraceIOEvent( int , void *, unsigned );
extern int IOtracingEnabled;
@@ -638,7 +637,7 @@ size_t HDFtraceFREAD( void *ptr, size_t size, size_t nitems, FILE *stream )
if ( IOtracingEnabled ) {
readArgs.fileID = c_mappedID( fd );
- readArgs.numVariables = nitems;
+ readArgs.numVariables = (int)nitems;
readArgs.cause = -1;
HDFtraceIOEvent( freadBeginID, (void *) &readArgs, sizeof(readArgs) );
}
@@ -850,7 +849,7 @@ size_t HDFtraceFWRITE(const void *ptr,size_t size,size_t nitems,FILE *stream )
if ( IOtracingEnabled ) {
writeArgs.fileID = c_mappedID( fd );
- writeArgs.numVariables = nitems;
+ writeArgs.numVariables = (int)nitems;
writeArgs.cause = -1;
HDFtraceIOEvent( fwriteBeginID, (void *) &writeArgs, sizeof(writeArgs) );