From 732eff53f0510108732b26cffdac60a99905b4c5 Mon Sep 17 00:00:00 2001 From: Leandro Pereira Date: Sun, 3 May 2020 10:46:10 -0700 Subject: hi_module_get_about() should return a const pointer --- hardinfo/hardinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo/hardinfo.c') diff --git a/hardinfo/hardinfo.c b/hardinfo/hardinfo.c index 76527364..6d1bf8ce 100644 --- a/hardinfo/hardinfo.c +++ b/hardinfo/hardinfo.c @@ -80,7 +80,7 @@ int main(int argc, char **argv) for (modules = modules_load_all(); modules; modules = modules->next) { ShellModule *module = (ShellModule *) modules->data; - ModuleAbout *ma = module_get_about(module); + const ModuleAbout *ma = module_get_about(module); gchar *name = g_path_get_basename(g_module_name(module->dll)); g_print("%-20s %-15s %-12s\n", name, module->name, ma->version); -- cgit v1.2.3