mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 23:12:44 +02:00
cast sizeof to signed to avoid compiler warning
Origin commit data
------------------
Branch: master
Commit: 260a6fcc2f
Author: martii <you@example.com>
Date: 2012-08-16 (Thu, 16 Aug 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -693,7 +693,7 @@ void cVideo::SetControl(int control, int value) {
|
||||
if (p) {
|
||||
char buf[20];
|
||||
int len = snprintf(buf, sizeof(buf), "%d", value);
|
||||
if (len < sizeof(buf))
|
||||
if (len < (int) sizeof(buf))
|
||||
proc_put(p, buf, len);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user