Hello Kevin,
Am 23.10.2015 um 19:51 schrieb Kevin Smith:
The variable "buf" in this function is a char array, and the
function ubi_volume_read is expecting a char *. In the call, the
address of the pointer is being taken, incorrectly passing a
char **. The compiler warning was being silenced b
On Fri, Oct 23, 2015 at 12:51 PM, Kevin Smith
wrote:
> The variable "buf" in this function is a char array, and the
> function ubi_volume_read is expecting a char *. In the call, the
> address of the pointer is being taken, incorrectly passing a
> char **. The compiler warning was being silenced
The variable "buf" in this function is a char array, and the
function ubi_volume_read is expecting a char *. In the call, the
address of the pointer is being taken, incorrectly passing a
char **. The compiler warning was being silenced by the cast.
Remove the address operator and the cast.
Signe
3 matches
Mail list logo