Changeset 147 for trunk/src/helpers/stringh.c
- Timestamp:
- Mar 16, 2002, 8:53:47 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/helpers/stringh.c
r144 r147 1413 1413 ULONG strhGetBlock(const char *pszSearchIn, // in: buffer to search 1414 1414 PULONG pulSearchOffset, // in/out: offset where to start search (0 for beginning) 1415 PSZpszTag,1415 const char *pszTag, 1416 1416 PSZ *ppszBlock, // out: block enclosed by the tags 1417 1417 PSZ *ppszAttribs, // out: attributes of the opening tag … … 1429 1429 while ((pszBeginTag = strchr(pszBeginTag, '<'))) 1430 1430 { 1431 if (memicmp(pszBeginTag+1, pszTag, strlen(pszTag)) == 0)1431 if (memicmp(pszBeginTag+1, (void*)pszTag, strlen(pszTag)) == 0) 1432 1432 // yes: stop 1433 1433 break; … … 1480 1480 // tag, we need to have several closing tags before 1481 1481 // we're done 1482 if (memicmp(pszClosingTag+1, pszTag, cbTag) == 0)1482 if (memicmp(pszClosingTag+1, (void*)pszTag, cbTag) == 0) 1483 1483 ulNestingLevel++; 1484 1484 else … … 1486 1486 // is this ours? 1487 1487 if ( (*(pszClosingTag+1) == '/') 1488 && (memicmp(pszClosingTag+2, pszTag, cbTag) == 0)1488 && (memicmp(pszClosingTag+2, (void*)pszTag, cbTag) == 0) 1489 1489 ) 1490 1490 {
Note:
See TracChangeset
for help on using the changeset viewer.