diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2023-08-06 22:00:15 +0900 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2023-10-07 11:42:33 +0900 |
commit | 509c8fc82d88dfeae5fe02de10fcd342ab887e80 (patch) | |
tree | 4b2cccdd8b33855a09b4557c2b4a0b049334896a | |
parent | ce5f2a0c3fa5cf705256fc2f3bfa238699a579cd (diff) | |
download | libhinawa-509c8fc82d88dfeae5fe02de10fcd342ab887e80.tar.gz |
fw_req: fix the size of local variable for generation property of node
The property of node is defined as guint, while the local variable is
defined as guint64.
This commit fixes the bug.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
-rw-r--r-- | src/fw_req.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fw_req.c b/src/fw_req.c index 4755ca3..9bbf480 100644 --- a/src/fw_req.c +++ b/src/fw_req.c @@ -142,7 +142,7 @@ gboolean hinawa_fw_req_request(HinawaFwReq *self, HinawaFwNode *node, HinawaFwTc GError **error) { struct fw_cdev_send_request req = {0}; - guint64 generation; + guint generation; int err; g_return_val_if_fail(HINAWA_IS_FW_REQ(self), FALSE); |