diff options
-rw-r--r-- | src/rmd_cache_frame.c | 2 |
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++; |