Skip to content

Commit 7667f8b

Browse files
committed
Fixed build with gcc 4.8
1 parent 252e1d5 commit 7667f8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/sdl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -883,10 +883,10 @@ static const UCHAR* sdl_desc(const UCHAR* ptr, DSC* desc)
883883
case dtype_cstring:
884884
case dtype_varying:
885885
{
886-
const auto length = get_word(sdl);
886+
const SSHORT length = get_word(sdl);
887887
desc->dsc_length += length;
888888
if (length == 0 || desc->dsc_length == 0)
889-
return nullptr;
889+
return NULL;
890890
break;
891891
}
892892

0 commit comments

Comments
 (0)