diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2020-06-20 17:19:38 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2020-06-23 18:04:42 -0700 |
commit | f3f565db6c16cf15f9e99027161cd38fd749ae39 (patch) | |
tree | 7b4445b759f6dcdcbe86d63ad1a1959fdabbf8a4 /recordmydesktop/src/rmd_cache.h | |
parent | 58e5ec09e0feb7b6ebe2fc89ba32731b20a1ce39 (diff) |
rmd_cache: silence compiler warnings about gzFile
zlib typedefs gzFile to already be a pointer to the struct,
so these shouldn't have two pointers on the fp, one comes
with the type.
Diffstat (limited to 'recordmydesktop/src/rmd_cache.h')
-rw-r--r-- | recordmydesktop/src/rmd_cache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/recordmydesktop/src/rmd_cache.h b/recordmydesktop/src/rmd_cache.h index 2def0e3..9f4acce 100644 --- a/recordmydesktop/src/rmd_cache.h +++ b/recordmydesktop/src/rmd_cache.h @@ -49,7 +49,7 @@ * * \returns 0 on Success 1 on Failure */ -int rmdSwapCacheFilesWrite(char *name,int n,gzFile **fp,FILE **ucfp); +int rmdSwapCacheFilesWrite(char *name,int n,gzFile *fp,FILE **ucfp); /** * Change file pointer to a new file while reading @@ -65,7 +65,7 @@ int rmdSwapCacheFilesWrite(char *name,int n,gzFile **fp,FILE **ucfp); * * \returns 0 on Success 1 on Failure */ -int rmdSwapCacheFilesRead(char *name,int n,gzFile **fp,FILE **ucfp); +int rmdSwapCacheFilesRead(char *name,int n,gzFile *fp,FILE **ucfp); /** * Delete all cache files |