diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2023-07-01 15:25:58 +0200 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2023-07-01 15:25:58 +0200 |
commit | 095b6e8cc851eb6240883e28f07dbbea5e30fb96 (patch) | |
tree | f30220b4e5d645163d389544a1fe820a02f82f1e /misc/magicpoint/files | |
parent | ftp/vsftpd: fix build with openssl30 (diff) |
misc/magicpoint: fix build clang16
Diffstat (limited to 'misc/magicpoint/files')
-rw-r--r-- | misc/magicpoint/files/patch-mng.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/misc/magicpoint/files/patch-mng.c b/misc/magicpoint/files/patch-mng.c new file mode 100644 index 000000000000..4e85b27a1853 --- /dev/null +++ b/misc/magicpoint/files/patch-mng.c @@ -0,0 +1,18 @@ +--- mng.c.orig 2004-09-01 03:50:32 UTC ++++ mng.c +@@ -48,13 +48,13 @@ void mng_window_setup __P((mngstuff *mymng, int x, int + /* callbacks for the mng decoder */ + + /* memory allocation; data must be zeroed */ +-mng_ptr mymngalloc(mng_uint32 size) ++mng_ptr mymngalloc(mng_size_t size) + { + return (mng_ptr)calloc(1, size); + } + + /* memory deallocation */ +-void mymngfree(mng_ptr p, mng_uint32 size) ++void mymngfree(mng_ptr p, mng_size_t size) + { + free(p); + return; |