aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
Diffstat (limited to 'host')
-rw-r--r--host/lib/usrp/n230/n230_image_loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/usrp/n230/n230_image_loader.cpp b/host/lib/usrp/n230/n230_image_loader.cpp
index ff5eb6bd9..ac0daa770 100644
--- a/host/lib/usrp/n230/n230_image_loader.cpp
+++ b/host/lib/usrp/n230/n230_image_loader.cpp
@@ -74,7 +74,7 @@ static void _parse_bitfile_header(const std::string& filepath, xil_bitfile_hdr_t
fields[key] = std::string(reinterpret_cast<char*>(buf + ptr), size_t(len)); ptr += len;
}
- hdr.filesize = _to_uint32(buf + ++ptr); ptr += 4;
+ hdr.filesize = _to_uint32(buf + ++ptr);
hdr.fpga = fields[1];
hdr.timestamp = fields[2] + std::string(" ") + fields[3];