summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMagnus Lundborg <lundborg.magnus@gmail.com>2013-05-14 05:38:40 (GMT)
committerMagnus Lundborg <lundborg.magnus@gmail.com>2013-05-14 05:38:40 (GMT)
commit94d926101a73f0b6d210da53e017d17e45fbdbd4 (patch)
tree5bc49739297244b8fce2b3026b744b1498b38df0 /src
parent43f0748e4a4335e0eb9f81cc8a4728616ac08cf1 (diff)
Fix printf variable type (2 instances).
File pos output changed from 64 bit int to long int.
Diffstat (limited to 'src')
-rw-r--r--src/lib/tng_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c
index 243f41b..1205d96 100644
--- a/src/lib/tng_io.c
+++ b/src/lib/tng_io.c
@@ -9547,7 +9547,7 @@ tng_function_status tng_frame_set_read_next(tng_trajectory_t tng_data,
stat = tng_block_header_read(tng_data, block);
if(stat == TNG_CRITICAL || block->id != TNG_TRAJECTORY_FRAME_SET)
{
- printf("Cannot read block header at pos %"PRId64". %s: %d\n",
+ printf("Cannot read block header at pos %ld. %s: %d\n",
file_pos, __FILE__, __LINE__);
tng_block_destroy(&block);
return(TNG_CRITICAL);
@@ -9579,7 +9579,7 @@ tng_function_status tng_frame_set_read_next(tng_trajectory_t tng_data,
}
if(stat == TNG_CRITICAL)
{
- printf("Cannot read block header at pos %"PRId64". %s: %d\n",
+ printf("Cannot read block header at pos %ld. %s: %d\n",
file_pos, __FILE__, __LINE__);
tng_block_destroy(&block);
return(stat);
contact: Jan Huwald // Impressum