Overview
| Artifact ID: | fbc02301e98d5b9567a80a759fd10695ce3827cee25b269a644e46f630639f42 |
|---|---|
| Ticket: | 26f1328a86863216c8fae28f55ff0e09135d5d35
sizeof(int) < sizeof(void*) -> Crash |
| User & Date: | anonymous on 2022-01-12 13:07:07 |
Changes
- icomment:
> result of that macro is an unsigned int, [...] > But on Plan9/amd64, sizeof(int) == 4 and sizeof(void*) == 8. Actually, my initial analysis was wrong regarding the reason for this. The sizeofs are the same on Linux/amd64. Still the macro returns an int on Linux, but an unsigned int on Plan 9, and that *is* actually the underlying problem.
- login: "anonymous"
- mimetype: "text/plain"
- username: "[email protected]"