mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-02 18:31:12 +02:00
fix warnings if some want to use c++11
Origin commit data
------------------
Branch: ni/coolstream
Commit: c78676f7fd
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2014-04-17 (Thu, 17 Apr 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -603,6 +603,6 @@ void CMotorControl::readNetwork()
|
||||
network = "unknown";
|
||||
|
||||
char net[100];
|
||||
snprintf(net, sizeof(net), "%03d.%d, %s", abs(pos)/10, abs(pos)%10, network.c_str());
|
||||
snprintf(net, sizeof(net), "%03d.%d, %s", abs((int)pos)/10, abs((int)pos)%10, network.c_str());
|
||||
network = net;
|
||||
}
|
||||
|
Reference in New Issue
Block a user