Skip to content

Commit

Permalink
Merge pull request #611 from bareos/dev/franku/master/fix-signed-long…
Browse files Browse the repository at this point in the history
…-long-python-conversion

plugin: use signed conversion for uint64_t
  • Loading branch information
pstorz committed Sep 29, 2020
2 parents 34e783a + ad444d3 commit 9854f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/filed/python/module/bareosfd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2014,7 +2014,7 @@ static int PyStatPacket_init(PyStatPacket* self, PyObject* args, PyObject* kwds)
self->blocks = 1;

if (!PyArg_ParseTupleAndKeywords(
args, kwds, "|IKHHIIIKIIIIK", kwlist, &self->dev, &self->ino,
args, kwds, "|IKHHIIILIIIIK", kwlist, &self->dev, &self->ino,
&self->mode, &self->nlink, &self->uid, &self->gid, &self->rdev,
&self->size, &self->atime, &self->mtime, &self->ctime, &self->blksize,
&self->blocks)) {
Expand Down

0 comments on commit 9854f4d

Please sign in to comment.