fixes compiler error 'Forward declaration of enums'

This commit is contained in:
onyx-and-iris 2024-07-03 15:24:44 +01:00
parent b6b4b04a8a
commit 8aeb793a41
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
void remove_name_in_path(char *szPath);
int replace_multiple_space_with_one(char *s, size_t len);
char *kind_as_string(char *s, enum kind kind, int n);
char *kind_as_string(char *s, int kind, int n);
char *version_as_string(char *, long v, int n);
#endif /* __UTIL_H__ */

View File

@ -70,7 +70,7 @@ int replace_multiple_space_with_one(char *s, size_t len)
* @param n maximum number of characters to be written to the buffer
* @return char* The kind of Voicemeeter as a string
*/
char *kind_as_string(char *s, enum kind kind, int n)
char *kind_as_string(char *s, int kind, int n)
{
char *kinds[] = {
"Basic",