Skip to content

Commit e8cc182

Browse files
committed
lint: format code
Signed-off-by: Patrizio Bekerle <[email protected]>
1 parent 0615b7b commit e8cc182

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/libraries/qlitehtml/src/3rdparty/litehtml/src/gumbo/include/gumbo/tag_gperf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
static unsigned int tag_hash(register const char *str, register unsigned int len) {
1+
static unsigned int tag_hash(register const char* str, register unsigned int len) {
22
static unsigned short asso_values[] = {296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 6, 4, 3, 1, 1, 0, 1, 0, 0, 296, 296, 296, 296, 296, 296, 296, 22, 73, 151, 4, 13, 59, 65, 2, 69, 0, 134, 9, 16, 52, 55, 28, 101, 0, 1, 6, 63, 126, 104, 93, 124, 296, 296, 296, 296, 296, 296, 296, 22, 73, 151, 4, 13, 59, 65, 2, 69, 0, 134, 9, 16, 52, 55, 28, 101, 0, 1, 6, 63, 126, 104, 93, 124, 296, 296, 296, 296, 296, 296, 296, 296,
33
296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296, 296};
44
register unsigned int hval = len;

src/libraries/qlitehtml/src/3rdparty/litehtml/src/strtod.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,10 @@ static double powersOf10[] = { /* Table giving binary powers of 10. Entry
6363
*----------------------------------------------------------------------
6464
*/
6565

66-
double litehtml::t_strtod(const litehtml::tchar_t *string, litehtml::tchar_t **endPtr) {
66+
double litehtml::t_strtod(const litehtml::tchar_t* string, litehtml::tchar_t** endPtr) {
6767
int sign, expSign = FALSE;
6868
double fraction, dblExp, *d;
69-
const litehtml::tchar_t *p;
69+
const litehtml::tchar_t* p;
7070
int c;
7171
int exp = 0; /* Exponent read from "EX" field. */
7272
int fracExp = 0; /* Exponent that derives from the fractional
@@ -81,7 +81,7 @@ double litehtml::t_strtod(const litehtml::tchar_t *string, litehtml::tchar_t **e
8181
int mantSize; /* Number of digits in mantissa. */
8282
int decPt; /* Number of mantissa digits BEFORE decimal
8383
* point. */
84-
const litehtml::tchar_t *pExp; /* Temporarily holds location of exponent
84+
const litehtml::tchar_t* pExp; /* Temporarily holds location of exponent
8585
* in string. */
8686

8787
/*
@@ -226,7 +226,7 @@ double litehtml::t_strtod(const litehtml::tchar_t *string, litehtml::tchar_t **e
226226

227227
done:
228228
if (endPtr != nullptr) {
229-
*endPtr = (litehtml::tchar_t *)p;
229+
*endPtr = (litehtml::tchar_t*)p;
230230
}
231231

232232
if (sign) {

0 commit comments

Comments
 (0)