From e834a576479568481083f0fb9d27156ba6371cca Mon Sep 17 00:00:00 2001 From: Loren Schwiebert Date: Wed, 22 Jan 2025 11:55:35 -0500 Subject: [PATCH] Fix printf format to match variable types --- src/DCDlib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DCDlib.cpp b/src/DCDlib.cpp index 4c39bf5cf..e0f955bcf 100644 --- a/src/DCDlib.cpp +++ b/src/DCDlib.cpp @@ -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); }