79155398

Date: 2024-11-04 12:14:12
Score: 2
Natty:
Report link

The sizeof(bmp_head) is 10 bytes instead 14 it should be. This caused due structure alignment.

This helps me: #pragma pack(2) // Pack structures by 2 bytes

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Werder Foster