Skip to content

Incompatible pointer types error when assigning between signed/unsigned char array to unsigned/signed char * #9

@zu2

Description

@zu2
  signed char	a[100];
unsigned char	b[100];

int main(int argc, char **argv)
{
	unsigned char *uc=a;
	signed   char *sc=b;
}
0540-ptrincdec.c(6): Error: Incompatible pointer types at 'a'
0540-ptrincdec.c(7): Error: Incompatible pointer types at 'b'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions