From 9a11692d1508c593a495854d5a6a3d76eeefe651 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Thu, 21 Oct 2021 14:14:14 +0200 Subject: [PATCH] plugins.h: fix type conversion Wconversion --- src/gui/plugins.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/plugins.h b/src/gui/plugins.h index c0ac6a263..6ac9fb452 100644 --- a/src/gui/plugins.h +++ b/src/gui/plugins.h @@ -93,7 +93,7 @@ class CPlugins void setPluginDir(const std::string & dir) { plugin_dir = dir; } - inline int getNumberOfPlugins (void ) const { return plugin_list.size() ; } + inline int getNumberOfPlugins (void ) const { return (int)plugin_list.size() ; } inline const char * getName (const int number) const { return plugin_list[number].name.c_str() ; } inline const char * getPluginFile (const int number) const { return plugin_list[number].pluginfile.c_str(); } inline const char * getPluginDir (const int number) const { return plugin_list[number].plugindir.c_str() ; }