Ignore:
Timestamp:
Mar 16, 2002, 8:53:47 AM (23 years ago)
Author:
umoeller
Message:

Misc updates for Unicode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/helpers/stringh.c

    r144 r147  
    14131413ULONG strhGetBlock(const char *pszSearchIn, // in: buffer to search
    14141414                   PULONG pulSearchOffset, // in/out: offset where to start search (0 for beginning)
    1415                    PSZ pszTag,
     1415                   const char *pszTag,
    14161416                   PSZ *ppszBlock,      // out: block enclosed by the tags
    14171417                   PSZ *ppszAttribs,    // out: attributes of the opening tag
     
    14291429    while ((pszBeginTag = strchr(pszBeginTag, '<')))
    14301430    {
    1431         if (memicmp(pszBeginTag+1, pszTag, strlen(pszTag)) == 0)
     1431        if (memicmp(pszBeginTag+1, (void*)pszTag, strlen(pszTag)) == 0)
    14321432            // yes: stop
    14331433            break;
     
    14801480                // tag, we need to have several closing tags before
    14811481                // we're done
    1482                 if (memicmp(pszClosingTag+1, pszTag, cbTag) == 0)
     1482                if (memicmp(pszClosingTag+1, (void*)pszTag, cbTag) == 0)
    14831483                    ulNestingLevel++;
    14841484                else
     
    14861486                    // is this ours?
    14871487                    if (    (*(pszClosingTag+1) == '/')
    1488                          && (memicmp(pszClosingTag+2, pszTag, cbTag) == 0)
     1488                         && (memicmp(pszClosingTag+2, (void*)pszTag, cbTag) == 0)
    14891489                       )
    14901490                    {
Note: See TracChangeset for help on using the changeset viewer.