projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix compilation warnings
[lttv.git]
/
lttv
/
lttv
/
sync
/
event_matching_tcp.c
diff --git
a/lttv/lttv/sync/event_matching_tcp.c
b/lttv/lttv/sync/event_matching_tcp.c
index e9cdce925bf66630bd17db015b52e8a2b4dd0a40..9ba8b63265463670db782c8dddb57b72f76890c3 100644
(file)
--- a/
lttv/lttv/sync/event_matching_tcp.c
+++ b/
lttv/lttv/sync/event_matching_tcp.c
@@
-21,6
+21,7
@@
#endif
#include <errno.h>
#endif
#include <errno.h>
+#include <inttypes.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@
-586,7
+587,7
@@
static void openGraphDataFiles(SyncState* const syncState)
matchingData= (MatchingDataTCP*) syncState->matchingData;
matchingData= (MatchingDataTCP*) syncState->matchingData;
- cwd= changeToGraphDir(syncState->graphsDir);
+ cwd= changeToGraph
s
Dir(syncState->graphsDir);
matchingData->messagePoints= malloc(syncState->traceNb * sizeof(FILE**));
for (i= 0; i < syncState->traceNb; i++)
matchingData->messagePoints= malloc(syncState->traceNb * sizeof(FILE**));
for (i= 0; i < syncState->traceNb; i++)
@@
-645,7
+646,7
@@
static void writeMessagePoint(FILE* stream, const Message* const message)
y= message->inE->cpuTime;
}
y= message->inE->cpuTime;
}
- fprintf(stream, "%20
llu %20llu
\n", x, y);
+ fprintf(stream, "%20
" PRIu64 " %20" PRIu64 "
\n", x, y);
}
}
This page took
0.024068 seconds
and
4
git commands to generate.