Skip to content

Commit

Permalink
Fix printf format to match variable types
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchwiebert committed Jan 22, 2025
1 parent 2617b8b commit e834a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DCDlib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ OFF_T NAMD_seek(int file, OFF_T offset, int whence) {
if (whence == SEEK_SET && retval != offset) {
char buf[256];
sprintf(buf,
"seek failed while writing DCD file: SEEK_SET %lld returned %lld\n",
"seek failed while writing DCD file: SEEK_SET %ld returned %ld\n",
offset, retval);
NAMD_die(buf);
}
Expand Down

0 comments on commit e834a57

Please sign in to comment.