aboutsummaryrefslogtreecommitdiff
path: root/src/recording.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/recording.c')
-rw-r--r--src/recording.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/recording.c b/src/recording.c
index a001607..7692ff1 100644
--- a/src/recording.c
+++ b/src/recording.c
@@ -54,7 +54,7 @@ make_filename(void)
strcpy(filename + fname_pos, username);
fname_pos += len;
} else if (format[format_pos] == 'i') {
- sprintf(filename + fname_pos, "%d", state_get_session_id());
+ sprintf(filename + fname_pos, "%llu", state_get_session_id());
fname_pos += strlen(filename + fname_pos);
}
format_pos++;