diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-11-20 16:20:51 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-11-20 16:20:51 (GMT) |
commit | 9988c4a74a5e3fa3ec0316f7648ef19fe6a800ff (patch) | |
tree | dee979e1b349832ec3a16433274d56566d74e425 /src | |
parent | c2b69253b445ad07de1e580ca8882522e377cd40 (diff) |
More compiler warnings fixed.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/tng_io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c index b75ea99..b4dcb73 100644 --- a/src/lib/tng_io.c +++ b/src/lib/tng_io.c @@ -11141,7 +11141,7 @@ tng_function_status DECLSPECDLLEXPORT tng_frame_set_read_current_only_data_from_ } else { - file_pos += block->block_contents_size + block->header_contents_size; + file_pos += (long)(block->block_contents_size + block->header_contents_size); fseek(tng_data->input_file, (long)block->block_contents_size, SEEK_CUR); if(file_pos < tng_data->input_file_len) { @@ -11680,7 +11680,7 @@ tng_function_status DECLSPECDLLEXPORT tng_first_frame_nr_of_next_frame_set_get if(tng_data->current_trajectory_frame_set_input_file_pos <= 0) { - next_frame_set_file_pos = tng_data->first_trajectory_frame_set_input_file_pos; + next_frame_set_file_pos = (long)tng_data->first_trajectory_frame_set_input_file_pos; } else { |