Commit 1806c5c1 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Use C99 size_t format directive.

parent 473c62e5
...@@ -338,9 +338,8 @@ writePF(aFiledataPF *afd, int id) ...@@ -338,9 +338,8 @@ writePF(aFiledataPF *afd, int id)
xmpi ( MPI_Sendrecv ( &amountL, 1, MPI_LONG, specialRank, tag, xmpi ( MPI_Sendrecv ( &amountL, 1, MPI_LONG, specialRank, tag,
&offset, 1, MPI_LONG, specialRank, tag, &offset, 1, MPI_LONG, specialRank, tag,
commNode, &status )); commNode, &status ));
xdebug ( "id=%d, command=%d, amount=%llu, send amountL=%ld, recv offset=%ld", xdebug ( "id=%d, command=%d, amount=%zu, send amountL=%ld, recv offset=%ld",
id, afd->command, (unsigned long long)amount, id, afd->command, amount, amountL, offset );
amountL, offset );
/* write buffer */ /* write buffer */
...@@ -353,9 +352,8 @@ writePF(aFiledataPF *afd, int id) ...@@ -353,9 +352,8 @@ writePF(aFiledataPF *afd, int id)
xabort("fileId=%d, expect to write %zu byte, written %zu byte", xabort("fileId=%d, expect to write %zu byte, written %zu byte",
id, amount, written); id, amount, written);
xdebug ( "written %llu bytes in file %d with offset %ld", xdebug("written %zu bytes in file %d with offset %ld",
(unsigned long long) written, written, id, offset);
id, offset );
/* change outputBuffer */ /* change outputBuffer */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment