diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-08-20 13:27:38 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-08-20 13:27:38 (GMT) |
commit | beb5670008b09d73e37ab25e17e036ac62f31621 (patch) | |
tree | b681bbca94fc6a7518b86a778306710210012c65 /src/tests/tng_io_testing.c | |
parent | 52f24b0d4d6754a7d3ee70dabd0b5859eeae6e03 (diff) |
Use char instead of enum to avoid endianness problems
Diffstat (limited to 'src/tests/tng_io_testing.c')
-rw-r--r-- | src/tests/tng_io_testing.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/tng_io_testing.c b/src/tests/tng_io_testing.c index daabcc4..96b53f7 100644 --- a/src/tests/tng_io_testing.c +++ b/src/tests/tng_io_testing.c @@ -499,7 +499,7 @@ tng_function_status tng_test_get_box_data(tng_trajectory_t traj) { int64_t n_frames, n_values_per_frame; union data_values **values = 0; - tng_data_type type; + char type; if(tng_data_get(traj, TNG_TRAJ_BOX_SHAPE, &values, &n_frames, &n_values_per_frame, &type) != TNG_SUCCESS) @@ -532,7 +532,7 @@ tng_function_status tng_test_get_positions_data(tng_trajectory_t traj) { int64_t n_frames, n_particles, n_values_per_frame; union data_values ***values = 0; - tng_data_type type; + char type; if(tng_particle_data_get(traj, TNG_TRAJ_POSITIONS, &values, &n_frames, &n_particles, &n_values_per_frame, &type) != |