I will cast and be done with it
On Tue, Sep 14, 2021, 1:39 PM Valdis Klētnieks
wrote:
> On Tue, 14 Sep 2021 09:32:33 -0600, jim.cro...@gmail.com said:
>
> > Im getting what appears to be conflicting warnings
> > about %u vs unsigned int (sometimes unsigned long int)
> > depending upon platform
On Tue, 14 Sep 2021 09:32:33 -0600, jim.cro...@gmail.com said:
> Im getting what appears to be conflicting warnings
> about %u vs unsigned int (sometimes unsigned long int)
> depending upon platform ??
Hint: What size is a size_t on a 32 bit platform, and on a 64 bit platform?
wrt:
+ v2pr_info("read %u bytes from userspace <\n%s>\n", len, tmpbuf);
Im getting what appears to be conflicting warnings
about %u vs unsigned int (sometimes unsigned long int)
depending upon platform ??
Ive now tried both %lu and %u
What have I missed ?
[jimc:dd-drm-next 3/16]