Skip to content
Snippets Groups Projects
Commit 346fc106 authored by Danny Auble's avatar Danny Auble
Browse files

Fix warning with gcc 4.8

parent 0e07b229
No related branches found
No related tags found
No related merge requests found
...@@ -125,7 +125,7 @@ int check_header_version(header_t * header) ...@@ -125,7 +125,7 @@ int check_header_version(header_t * header)
*/ */
void init_header(header_t *header, slurm_msg_t *msg, uint16_t flags) void init_header(header_t *header, slurm_msg_t *msg, uint16_t flags)
{ {
memset(header, 0, sizeof(header)); memset(header, 0, sizeof(header_t));
/* Since the slurmdbd could talk to a host of different /* Since the slurmdbd could talk to a host of different
versions of slurm this needs to be kept current when the versions of slurm this needs to be kept current when the
protocol version changes. */ protocol version changes. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment