mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 12:31:51 +00:00
[FATTEN][KBDTOOL][RSYM]
- Fix clang warnings svn path=/trunk/; revision=73701
This commit is contained in:
parent
3f11bbbaf1
commit
25382c0600
3 changed files with 7 additions and 5 deletions
|
@ -14,7 +14,7 @@
|
|||
|
||||
static FATFS g_Filesystem;
|
||||
static int isMounted = 0;
|
||||
static char buff[32768];
|
||||
static unsigned char buff[32768];
|
||||
|
||||
// tool needed by fatfs
|
||||
DWORD get_fattime(void)
|
||||
|
|
|
@ -189,8 +189,8 @@ getCharacterInfo(IN PCHAR State,
|
|||
{
|
||||
/* Scan for extended character code entry */
|
||||
if ((sscanf(State, "%6x", &CharCode) == 1) &&
|
||||
((Length == 5) && (State[0] == '0') ||
|
||||
(Length == 6) && ((State[0] == '0') && (State[1] == '0'))))
|
||||
(((Length == 5) && (State[0] == '0')) ||
|
||||
((Length == 6) && ((State[0] == '0') && (State[1] == '0')))))
|
||||
{
|
||||
/* Handle a ligature key */
|
||||
CharInfo = CHAR_LIGATURE_KEY;
|
||||
|
@ -726,7 +726,8 @@ DoLAYOUT(IN PLAYOUT LayoutData,
|
|||
CHAR State[8][8];
|
||||
ULONG ScanCodeCount = -1;
|
||||
PLAYOUTENTRY Entry;
|
||||
UCHAR CharacterType, LigatureChar;
|
||||
UCHAR CharacterType;
|
||||
CHAR LigatureChar;
|
||||
|
||||
/* Zero out the layout */
|
||||
memset(LayoutData, 0, sizeof(LAYOUT));
|
||||
|
|
|
@ -935,7 +935,8 @@ CreateOutputFile(FILE *OutFile, void *InData,
|
|||
InSectionHeaders[Section].Name);
|
||||
if (InSectionHeaders[Section].Name[0] == '/')
|
||||
{
|
||||
StringTableLength = atoi(InSectionHeaders[Section].Name+1) + strlen(SectionName) + 1;
|
||||
StringTableLength = atoi((const char *)InSectionHeaders[Section].Name + 1) +
|
||||
strlen((const char *)SectionName) + 1;
|
||||
}
|
||||
if ((StartOfRawData == 0 || InSectionHeaders[Section].PointerToRawData < StartOfRawData)
|
||||
&& InSectionHeaders[Section].PointerToRawData != 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue