]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Change endblock edit to unsigned -- suggested by Martin Simmons
authorKern Sibbald <kern@sibbald.com>
Mon, 31 Dec 2018 19:34:35 +0000 (20:34 +0100)
committerKern Sibbald <kern@sibbald.com>
Mon, 31 Dec 2018 19:35:03 +0000 (20:35 +0100)
bacula/src/cats/sql_update.c

index 7a8bb4ee090111b06b6ca8a14dc94ec8827665c2..b01ed7ad81e96febb1344d4fd3fa650df30fdb69 100644 (file)
@@ -375,7 +375,7 @@ int BDB::bdb_update_media_record(JCR *jcr, MEDIA_DBR *mr)
         "LabelType=%d,StorageId=%s,PoolId=%s,VolRetention=%s,VolUseDuration=%s,"
         "MaxVolJobs=%d,MaxVolFiles=%d,Enabled=%d,LocationId=%s,"
         "ScratchPoolId=%s,RecyclePoolId=%s,RecycleCount=%d,Recycle=%d,"
-        "ActionOnPurge=%d,CacheRetention=%s,EndBlock=%d"
+        "ActionOnPurge=%d,CacheRetention=%s,EndBlock=%u"
         " WHERE VolumeName='%s'",
         mr->VolJobs, mr->VolFiles, mr->VolBlocks,
         edit_uint64(mr->VolBytes, ed1),