changed countIntLength type from I to UL

This commit is contained in:
Václav Šmejkal 2022-05-29 17:47:50 +02:00
parent e3790a2bff
commit 7714e45019
2 changed files with 2 additions and 2 deletions

View File

@ -8,6 +8,6 @@ void generateTextKeyChain(char *key, int *textKeyChain, int textKeyChainSize); /
void deallocateOutput(outputFlags flags); //DEALLOCATES flags void deallocateOutput(outputFlags flags); //DEALLOCATES flags
void checkKey(char *key, inputFlags flags); //CHECKS IF KEY IS VALID void checkKey(char *key, inputFlags flags); //CHECKS IF KEY IS VALID
void checkText(char *text, inputFlags flags); //CHECKS IF TEXT IS VALID void checkText(char *text, inputFlags flags); //CHECKS IF TEXT IS VALID
int countIntLength(int number); //RETURNS LENGTH OF number unsigned long countIntLength(int number); //RETURNS LENGTH OF number
#endif #endif

View File

@ -191,7 +191,7 @@ void checkText(char *text, inputFlags flags)
} }
} }
int countIntLength(int number) unsigned long countIntLength(int number)
{ {
int returning = 1; int returning = 1;
int buffer = 10; int buffer = 10;