Cleanup: Use const char* in declaring imb_exr_get_pass().

GCC would give a warning if the argument type does not match.
This commit is contained in:
YimingWu
2024-08-26 13:53:02 +08:00
parent d9cfb9fea2
commit 81870ce418

View File

@@ -95,7 +95,7 @@ using namespace Imf;
using namespace Imath;
/* prototype */
static struct ExrPass *imb_exr_get_pass(ListBase *lb, char *passname);
static struct ExrPass *imb_exr_get_pass(ListBase *lb, const char *passname);
static bool exr_has_multiview(MultiPartInputFile &file);
static bool exr_has_multipart_file(MultiPartInputFile &file);
static bool exr_has_alpha(MultiPartInputFile &file);