summaryrefslogtreecommitdiff
path: root/utils/qwknet/qwkscan.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/qwknet/qwkscan.c')
-rw-r--r--utils/qwknet/qwkscan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/qwknet/qwkscan.c b/utils/qwknet/qwkscan.c
index 848aca3..4861c56 100644
--- a/utils/qwknet/qwkscan.c
+++ b/utils/qwknet/qwkscan.c
@@ -311,7 +311,7 @@ int export_messages(int baseno, char *basefilename, int qwkidx) {
snprintf(buffer, PATH_MAX, "%s/HEADERS.DAT", temp_dir);
hdrptr = fopen(buffer, "a");
- fprintf(hdrptr, "[%x]\n", offset);
+ fprintf(hdrptr, "[%lx]\n", offset);
if (msgid != NULL) {
fprintf(hdrptr, "Message-ID: %s\n", msgid);
free(msgid);
@@ -452,4 +452,4 @@ int main(int argc, char **argv) {
}
}
recursive_delete(temp_dir);
-} \ No newline at end of file
+}