Skip to content

Commit 712ded8

Browse files
author
camilo
committed
minor fixes
1 parent 6b3da7c commit 712ded8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

qioutils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ static char qIOUtil_NibbleToX( qUINT8_t value )
174174

175175
ch = (char)( (qUINT8_t)( value & 0x0Fu ) + '0' );
176176

177-
return (char)( ( ch > '9' ) ? (char)( ch + 7 ) : ch );
177+
return ( ch <= '9' ) ? ch : ( ch + 7 );
178178
}
179179
/*============================================================================*/
180180
qBool_t qIOUtil_SwapBytes( void *pData,

qmemmang.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static qMemMang_Pool_t defaultMemPool = { // skipcq: CXX-W2009
2323
{ NULL, 0 }
2424
}
2525
}; // skipcq: CXX-W2009
26-
static qMemMang_Pool_t *selectedMemPool = &defaultMemPool; // skipcq: CXX-W2009
26+
static qMemMang_Pool_t *selectedMemPool = &defaultMemPool; // skipcq: CXX-W2009, CXX-W2011
2727
static const size_t byteAlignmentMask = BYTE_ALIGN_MASK;
2828
/*
2929
The index of the bit that is set when a block belongs to the application.

0 commit comments

Comments
 (0)