mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-28 15:37:04 +02:00
Fix static analysis issues
This commit is contained in:
parent
03ce0ed2df
commit
17efc6799c
22 changed files with 56 additions and 62 deletions
|
@ -1,6 +1,6 @@
|
|||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2021 Johannes Pohl
|
||||
Copyright (C) 2014-2024 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -42,7 +42,7 @@ namespace
|
|||
template <typename T>
|
||||
void assign(void* pointer, T val)
|
||||
{
|
||||
T* p = (T*)pointer;
|
||||
T* p = static_cast<T*>(pointer);
|
||||
*p = val;
|
||||
}
|
||||
} // namespace
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue