Skip to content

Commit 856478d

Browse files
committed
Fixing 32-bit Windows build
1 parent ce25a51 commit 856478d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

include/mdcomp/moduled_adaptor.hh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ bool moduled_adaptor<Format, ModuleSize, DefaultModulePadding>::moduled_decode(
6666
}
6767

6868
// Skip padding between modules
69-
input.seekg(utils::round_up(input.tellg(), static_cast<diff_t>(module_padding)));
69+
input.seekg(
70+
utils::round_up(
71+
static_cast<diff_t>(input.tellg()),
72+
static_cast<diff_t>(module_padding)));
7073
}
7174

7275
return true;

0 commit comments

Comments
 (0)