Re: [PATCH] iio: ad9523: Fix argument type mismatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jun 11, 2012 at 5:06 PM, Lars-Peter Clausen <lars@xxxxxxxxxx> wrote:
> On 06/11/2012 01:17 PM, Shubhrajyoti Datta wrote:
>> Hi Michael,
>>
>> On Mon, Jun 11, 2012 at 2:45 PM, Michael Hennerich
>> <michael.hennerich@xxxxxxxxxx> wrote:
>> [..]
>>>>>  static int ad9523_vco_out_map(struct iio_dev *indio_dev,
>>>>> -                             unsigned ch, bool out)
>>>>> +                             unsigned ch, unsigned out)
>>>>
>>>> Unsigned defaults to unsigned int right shouldnt it be a char?
>>>> Or am I missing something.
>>>>

>
> The code is fine as it is, the assignment does an implicit type cast.

Ok got is now . Apologies for the noise.
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux