[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Preview: portable dumper
From: |
Eli Zaretskii |
Subject: |
Re: Preview: portable dumper |
Date: |
Wed, 14 Feb 2018 18:18:56 +0200 |
> Date: Tue, 13 Feb 2018 23:28:03 +0100 (CET)
> From: Angelo Graziosi <address@hidden>
>
> pdumper.c: In function 'dump_read_all':
> pdumper.c:4723:45: error: conversion to 'unsigned int' from 'size_t {aka long
> long unsigned int}' may alter its value [-Werror=conversion]
> read (fd, (char*) buf + bytes_read, bytes_to_read - bytes_read);
> ^~~~~~~~~~~~~
This is because the MS-Windows version of 'read' has 'unsigned int' as
its last argument. But now I wonder why you don't see the same
problem in sysdep.c, where emacs_read does something very similar.
Not sure what am I missing here.
Re: Preview: portable dumper, andres . ramirez, 2018/02/15
Re: Preview: portable dumper, Daniele Nicolodi, 2018/02/19
Re: Preview: portable dumper, Angelo Graziosi, 2018/02/13
- Re: Preview: portable dumper, Angelo Graziosi, 2018/02/13
- Re: Preview: portable dumper, Daniel Colascione, 2018/02/14
- Re: Preview: portable dumper,
Eli Zaretskii <=
- Re: Preview: portable dumper, Angelo Graziosi, 2018/02/16
- Re: Preview: portable dumper, Daniel Colascione, 2018/02/16
- Re: Preview: portable dumper, Eli Zaretskii, 2018/02/17
- Re: Preview: portable dumper, Andy Moreton, 2018/02/19
- Re: Preview: portable dumper, Eli Zaretskii, 2018/02/19
- Re: Preview: portable dumper, Paul Eggert, 2018/02/20
Re: Preview: portable dumper, Eli Zaretskii, 2018/02/16
Re: Preview: portable dumper, Daniel Colascione, 2018/02/19
Re: Preview: portable dumper, Andy Moreton, 2018/02/19
Re: Preview: portable dumper, Daniel Colascione, 2018/02/19