You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Radek.
Recently there was a need to use the xotd program (https://github.com/rpodgorny/xotd). Compiled on 64 bit versions.
Found a malnky error:
line 687: nread = sizeof(header);
probably sizeof(*header), because header - the pointer. On 32 bit versions 4 - size of hedaer and poiner, and on 64-bit the header (pointer) 8 size, and *header - 4.
Thanks.
Yours faithfully, Pavel.
The text was updated successfully, but these errors were encountered:
from email:
Hello Radek.
Recently there was a need to use the xotd program (https://github.com/rpodgorny/xotd). Compiled on 64 bit versions.
Found a malnky error:
line 687: nread = sizeof(header);
probably sizeof(*header), because header - the pointer. On 32 bit versions 4 - size of hedaer and poiner, and on 64-bit the header (pointer) 8 size, and *header - 4.
Thanks.
Yours faithfully, Pavel.
The text was updated successfully, but these errors were encountered: