Re: [PATCH BlueZ 1/2] advertising: Make data size explicit for formats

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

 



Hi Brian,

  		error("Controller capabilities malformed, size %lu != %u",

Note that it might make things prettier/easier to use %zu instead. Refer to 'man 3 printf'

-				sizeof(rp->cap_len) + rp->cap_len, length);
+			(long) sizeof(rp->cap_len) + rp->cap_len, length);
  		return;
  	}

Regards,
-Denis



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux