mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Fix some compiler warnings in dt2dv.c
This commit is contained in:
parent
b351910478
commit
0c59ea386d
8
3rdparty/dtl/ChangeLog-LyX
vendored
8
3rdparty/dtl/ChangeLog-LyX
vendored
@ -1,6 +1,14 @@
|
|||||||
This file documents changes that have been done on top of the released
|
This file documents changes that have been done on top of the released
|
||||||
version 0.6.1 from https://ctan.org/pkg/dtl
|
version 0.6.1 from https://ctan.org/pkg/dtl
|
||||||
|
|
||||||
|
Version 0.6.3 -- LyX 2.4.0
|
||||||
|
===================================
|
||||||
|
|
||||||
|
2020-04-10 Jürgen Spitzmüller <spitz@lyx.org>
|
||||||
|
|
||||||
|
* dt2dv.c: Fix some compiler warnings (signedness mismatch).
|
||||||
|
|
||||||
|
|
||||||
Version 0.6.2 -- 14 September 2006
|
Version 0.6.2 -- 14 September 2006
|
||||||
===================================
|
===================================
|
||||||
|
|
||||||
|
7
3rdparty/dtl/dt2dv.c
vendored
7
3rdparty/dtl/dt2dv.c
vendored
@ -6,13 +6,14 @@
|
|||||||
The author has expressed the hope that any modification will retain enough content to remain useful. He would also appreciate being acknowledged as the original author in the documentation.
|
The author has expressed the hope that any modification will retain enough content to remain useful. He would also appreciate being acknowledged as the original author in the documentation.
|
||||||
This declaration added 2008/11/14 by Clea F. Rees with the permission of Geoffrey Tobin.
|
This declaration added 2008/11/14 by Clea F. Rees with the permission of Geoffrey Tobin.
|
||||||
|
|
||||||
- version 0.6.2 - 14 September 2006
|
- version 0.6.3 - 2020
|
||||||
- Geoffrey Tobin G.Tobin@ee.latrobe.edu.au
|
- Geoffrey Tobin G.Tobin@ee.latrobe.edu.au
|
||||||
- fixes: Michal Tomczak-Jaegermann ntomczak@vm.ucs.ualberta.ca
|
- fixes: Michal Tomczak-Jaegermann ntomczak@vm.ucs.ualberta.ca
|
||||||
Nelson H. F. Beebe beebe@math.utah.edu
|
Nelson H. F. Beebe beebe@math.utah.edu
|
||||||
Angus Leeming leeming@lyx.org: Enable dt2dv to handle .dvi files
|
Angus Leeming leeming@lyx.org: Enable dt2dv to handle .dvi files
|
||||||
containing strings longer than 1024 chars.
|
containing strings longer than 1024 chars.
|
||||||
Enrico Forestieri forenr@lyx.org: handle non-ASCII characters.
|
Enrico Forestieri forenr@lyx.org: handle non-ASCII characters.
|
||||||
|
Juergen Spitzmueller spitz@lyx.org: fix compiler warnings
|
||||||
- Reference: "The DVI Driver Standard, Level 0",
|
- Reference: "The DVI Driver Standard, Level 0",
|
||||||
by The TUG DVI Driver Standards Committee.
|
by The TUG DVI Driver Standards Committee.
|
||||||
Appendix A, "Device-Independent File Format".
|
Appendix A, "Device-Independent File Format".
|
||||||
@ -41,7 +42,7 @@ typedef struct
|
|||||||
{
|
{
|
||||||
COUNT num; /* current line number */
|
COUNT num; /* current line number */
|
||||||
size_t max; /* capacity of buf */
|
size_t max; /* capacity of buf */
|
||||||
S4 wrote; /* number of characters written into buf */
|
U4 wrote; /* number of characters written into buf */
|
||||||
size_t read; /* position in buf of next character to read from buf */
|
size_t read; /* position in buf of next character to read from buf */
|
||||||
char * buf; /* line buffer */
|
char * buf; /* line buffer */
|
||||||
} Line;
|
} Line;
|
||||||
@ -2206,7 +2207,7 @@ put_Lstring
|
|||||||
|
|
||||||
dvi_written += fwret;
|
dvi_written += fwret;
|
||||||
|
|
||||||
if (fwret < lstr->l)
|
if ((long int) fwret < lstr->l)
|
||||||
{
|
{
|
||||||
PRINT_PROGNAME;
|
PRINT_PROGNAME;
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
|
Loading…
Reference in New Issue
Block a user