mirror of https://github.com/MLXXXp/Arduboy2.git
Merge pull request #71 from Pharap/make-cabi-cpp-compatible
Make cabi C++ compatible
This commit is contained in:
commit
031e9164aa
|
@ -342,8 +342,8 @@ int main(int argc, char **argv)
|
|||
|
||||
rawlen = w * (h+7) / 8;
|
||||
|
||||
bmp0 = malloc(rawlen); memset(bmp0, 0, rawlen);
|
||||
bmp1 = malloc(rawlen); memset(bmp1, 0, rawlen);
|
||||
bmp0 = (unsigned char *)malloc(rawlen); memset(bmp0, 0, rawlen);
|
||||
bmp1 = (unsigned char *)malloc(rawlen); memset(bmp1, 0, rawlen);
|
||||
|
||||
printf("// %s width: %u height: %u\n", argv[1], w, h);
|
||||
|
||||
|
|
Loading…
Reference in New Issue