Changeset 1505 for trunk/dll/viewinf.c


Ignore:
Timestamp:
Apr 12, 2010, 12:29:56 AM (15 years ago)
Author:
Gregg Young
Message:

Remove unnecessary type casts; minor formating cleanup.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/viewinf.c

    r1498 r1505  
    193193              key = "HLPPaths";
    194194            repeating = TRUE;
    195             if (PrfQueryProfileSize(fmprof, (CHAR *) FM3Str, key, &size) && size) {
     195            if (PrfQueryProfileSize(fmprof, FM3Str, key, &size) && size) {
    196196              holdenv = xmalloc(size + 2, pszSrcFile, __LINE__);
    197197              if (holdenv) {
    198                 if (!PrfQueryProfileData(fmprof, (CHAR *) FM3Str, key, holdenv, &size)) {
     198                if (!PrfQueryProfileData(fmprof, FM3Str, key, holdenv, &size)) {
    199199                  Win_Error(hwnd, hwnd, pszSrcFile, __LINE__,
    200200                            PCSZ_PRFQUERYPROFILEDATA);
     
    521521        bstrip(szBuffer);
    522522        PrfWriteProfileData(fmprof,
    523                             (CHAR *) FM3Str,
     523                            FM3Str,
    524524                            key,
    525525                            (*szBuffer) ? szBuffer : NULL, strlen(szBuffer));
Note: See TracChangeset for help on using the changeset viewer.