]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/stored/btape.c
Pull compiler warning cleanup code + other from master
[bacula/bacula] / bacula / src / stored / btape.c
index 2b19e62e782188d202e619d2fd100befb36cc5bf..03c70b3c11fb06685e55860ff7390f6e86bcee00 100644 (file)
@@ -2650,7 +2650,10 @@ static bool quickie_cb(DCR *dcr, DEV_RECORD *rec)
 static bool compare_blocks(DEV_BLOCK *last_block, DEV_BLOCK *block)
 {
    char *p, *q;
-   uint32_t CheckSum, block_len;
+   union {
+      uint32_t CheckSum;
+      uint32_t block_len;
+   };
    ser_declare;
 
    p = last_block->buf;