diff options
author | Takanori Nakane <nakane.t@gmail.com> | 2015-01-06 15:35:00 +0900 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-02-12 12:42:17 +0100 |
commit | 5f6b5ffcd560f056ae3af56a50d7662460652ba8 (patch) | |
tree | 19038292e75b27c8f7f7be17269776dbf2eeb936 /libcrystfel/src/events.c | |
parent | e22c8ae67ab6af53d21984ff3c602529f2770526 (diff) |
Avoid libhdf5 runtime warnings when photon_energy contains %.
Diffstat (limited to 'libcrystfel/src/events.c')
-rw-r--r-- | libcrystfel/src/events.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/events.c b/libcrystfel/src/events.c index 29cb9495..5de60b66 100644 --- a/libcrystfel/src/events.c +++ b/libcrystfel/src/events.c @@ -356,7 +356,7 @@ char *get_event_string(struct event *ev) strncpy(&ret_string[ret_string_len],"/", 1); strncpy(&ret_string[ret_string_len+1], num_buf, - strlen(num_buf)); + strlen(num_buf)); ret_string_len += 1+strlen(num_buf); } |