summaryrefslogtreecommitdiff
path: root/src/rmd_cache_frame.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rmd_cache_frame.c')
-rw-r--r--src/rmd_cache_frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rmd_cache_frame.c b/src/rmd_cache_frame.c
index f353c79..fce4556 100644
--- a/src/rmd_cache_frame.c
+++ b/src/rmd_cache_frame.c
@@ -166,7 +166,7 @@ void *rmdCacheImageBuffer(ProgData *pdata)
gzsetparams(icf->gzfp, 0, Z_FILTERED);
}
- strncpy(fheader.frame_prefix, "FRAM", 4);
+ memcpy(fheader.frame_prefix, "FRAM", 4);
fheader.capture_frameno = capture_frameno;
frameno++;
© All Rights Reserved