On Tue, 2018-10-30 at 10:36 -0400, Theodore Ts'o wrote:
> Signed-off-by: Theodore Ts'o <[email protected]>
> ---
>  src/discontiguous-io.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/discontiguous-io.cpp b/src/discontiguous-io.cpp
> index 5e0ee0f..f51a305 100644
> --- a/src/discontiguous-io.cpp
> +++ b/src/discontiguous-io.cpp
> @@ -251,7 +251,7 @@ int main(int argc, char **argv)
>       const char *dev;
>       int c;
>       std::vector<uint8_t> buf;
> -     size_t len = 512;
> +     unsigned long len = 512;
>  
>       while ((c = getopt(argc, argv, "hl:o:sw")) != EOF) {
>               switch (c) {

Details about how the build fails on 32-bit systems would have been welcome
in the commit message. Anyway:

Reviewed-by: Bart Van Assche <[email protected]>

Reply via email to