From 3620dbb59f6cdcd2869ea17bcc2274b6aa350d23 Mon Sep 17 00:00:00 2001 From: jp9000 Date: Fri, 28 Aug 2015 15:00:22 -0700 Subject: [PATCH] libobs: Fix warning Should have used size_t here instead of int. --- libobs/obs-module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libobs/obs-module.c b/libobs/obs-module.c index 6c22e45c0..0d1ce245d 100644 --- a/libobs/obs-module.c +++ b/libobs/obs-module.c @@ -58,7 +58,7 @@ static int load_module_exports(struct obs_module *mod, const char *path) static inline char *get_module_name(const char *file) { - static int ext_len = 0; + static size_t ext_len = 0; struct dstr name = {0}; if (ext_len == 0) { -- GitLab