mirror of
https://github.com/DigitalDevices/dddvb.git
synced 2023-10-10 13:37:43 +02:00
change to unsigned because of possible wrong range
This commit is contained in:
parent
8c46d9a86a
commit
774e92bd44
@ -4720,7 +4720,7 @@ static ssize_t bpsnr_show(struct device *device,
|
|||||||
struct device_attribute *attr, char *buf)
|
struct device_attribute *attr, char *buf)
|
||||||
{
|
{
|
||||||
struct ddb *dev = dev_get_drvdata(device);
|
struct ddb *dev = dev_get_drvdata(device);
|
||||||
char snr[32];
|
unsigned char snr[32];
|
||||||
|
|
||||||
if (!dev->i2c_num)
|
if (!dev->i2c_num)
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user