Skip to content

Commit

Permalink
Debug|libdeng1: Added an assert
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Jan 31, 2014
1 parent 94de3c9 commit 83b73c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions doomsday/libdeng1/src/writer.c
Expand Up @@ -324,6 +324,7 @@ void Writer_Write(Writer *writer, void const *buffer, size_t len)

void Writer_WritePackedUInt16(Writer *writer, uint16_t v)
{
DENG_ASSERT(!(v & 0x8000));
if(v & 0x8000)
{
App_Log(DE2_LOG_ERROR,
Expand Down

0 comments on commit 83b73c7

Please sign in to comment.