aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2023-08-06 22:00:15 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2023-10-07 11:42:33 +0900
commit509c8fc82d88dfeae5fe02de10fcd342ab887e80 (patch)
tree4b2cccdd8b33855a09b4557c2b4a0b049334896a
parentce5f2a0c3fa5cf705256fc2f3bfa238699a579cd (diff)
downloadlibhinawa-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.c2
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);