]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix compiler warning in previous patch
authorKern Sibbald <kern@sibbald.com>
Sun, 19 Nov 2017 13:41:05 +0000 (14:41 +0100)
committerKern Sibbald <kern@sibbald.com>
Sun, 19 Nov 2017 13:41:05 +0000 (14:41 +0100)
bacula/src/stored/block.c

index a0f33705cd6d7eb00dc5db218ce61bfe470d51c8..92c56ecd6b0ef72ed0a129b9db3bab1d16176c5e 100644 (file)
@@ -447,7 +447,7 @@ bool DCR::read_block_from_dev(bool check_block_numbers)
    DCR *dcr = this;
    boffset_t pos;
    char ed1[50];
-   int data_len;
+   uint32_t data_len;
 
    if (job_canceled(jcr)) {
       Mmsg(dev->errmsg, _("Job failed or canceled.\n"));