Skip to content

Commit ca55eb5

Browse files
authored
Merge pull request #8068 from radarhere/lint
2 parents 22b64ff + 82910a5 commit ca55eb5

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/libImaging/Dib.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ ImagingNewDIB(const char *mode, int xsize, int ysize) {
9494
return (ImagingDIB)ImagingError_MemoryError();
9595
}
9696

97-
dib->bitmap =
98-
CreateDIBSection(dib->dc, dib->info, DIB_RGB_COLORS, (void **)&dib->bits, NULL, 0);
97+
dib->bitmap = CreateDIBSection(
98+
dib->dc, dib->info, DIB_RGB_COLORS, (void **)&dib->bits, NULL, 0);
9999
if (!dib->bitmap) {
100100
free(dib->info);
101101
free(dib);

src/libImaging/TiffDecode.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1005,7 +1005,8 @@ ImagingLibTiffEncode(Imaging im, ImagingCodecState state, UINT8 *buffer, int byt
10051005
}
10061006

10071007
if (state->state == 1 && !clientstate->fp) {
1008-
int read = (int)_tiffReadProc((thandle_t)clientstate, (tdata_t)buffer, (tsize_t)bytes);
1008+
int read =
1009+
(int)_tiffReadProc((thandle_t)clientstate, (tdata_t)buffer, (tsize_t)bytes);
10091010
TRACE(
10101011
("Buffer: %p: %c%c%c%c\n",
10111012
buffer,

0 commit comments

Comments
 (0)