Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unsigned without extra type doesn't get copied properly #4

Closed
schveiguy opened this issue Oct 11, 2022 · 1 comment
Closed

unsigned without extra type doesn't get copied properly #4

schveiguy opened this issue Oct 11, 2022 · 1 comment

Comments

@schveiguy
Copy link
Contributor

typedef struct S {
   unsigned x[10];
   unsigned y;
   unsigned int z[10];
} S;

void foo(void)
{
    unsigned x = 5;
}

=>

struct S {
   [10] x;
    y;
   uint[10] z;
}

void foo() {
     x = 5;
}

I believe unsigned without a further type is unsigned int.

@dkorpel
Copy link
Owner

dkorpel commented Oct 11, 2022

Fixed by 4c5691e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants