Move uint8_t[] buffers into any_op_t/any_reply_t
This commit is contained in:
+2
-2
@@ -9,8 +9,8 @@ void handle_sigint(int sig)
|
||||
|
||||
int main(int narg, char *args[])
|
||||
{
|
||||
if (sizeof(osd_any_op_t) >= OSD_PACKET_SIZE ||
|
||||
sizeof(osd_any_reply_t) >= OSD_PACKET_SIZE)
|
||||
if (sizeof(osd_any_op_t) > OSD_PACKET_SIZE ||
|
||||
sizeof(osd_any_reply_t) > OSD_PACKET_SIZE)
|
||||
{
|
||||
perror("BUG: too small packet size");
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user