Commit e2d9ce1d authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

comctl32: Cast-qual warnings fix.

parent 9fb58434
...@@ -526,7 +526,8 @@ DATETIME_ReturnFieldWidth (DATETIME_INFO *infoPtr, HDC hdc, int count, SHORT *fi ...@@ -526,7 +526,8 @@ DATETIME_ReturnFieldWidth (DATETIME_INFO *infoPtr, HDC hdc, int count, SHORT *fi
static const WCHAR fld_mon[] = { 'S', 'e', 'p', 't', 'e', 'm', 'b', 'e', 'r', 0 }; static const WCHAR fld_mon[] = { 'S', 'e', 'p', 't', 'e', 'm', 'b', 'e', 'r', 0 };
static const WCHAR fld_mon3[] = { 'D', 'e', 'c', 0 }; static const WCHAR fld_mon3[] = { 'D', 'e', 'c', 0 };
int spec; int spec;
WCHAR buffer[80], *bufptr; WCHAR buffer[80];
LPCWSTR bufptr;
SIZE size; SIZE size;
TRACE ("%d,%d\n", infoPtr->nrFields, count); TRACE ("%d,%d\n", infoPtr->nrFields, count);
...@@ -564,32 +565,32 @@ DATETIME_ReturnFieldWidth (DATETIME_INFO *infoPtr, HDC hdc, int count, SHORT *fi ...@@ -564,32 +565,32 @@ DATETIME_ReturnFieldWidth (DATETIME_INFO *infoPtr, HDC hdc, int count, SHORT *fi
case TWODIGITMINUTE: case TWODIGITMINUTE:
case TWODIGITMONTH: case TWODIGITMONTH:
case TWODIGITYEAR: case TWODIGITYEAR:
bufptr = (WCHAR *)fld_d2W; bufptr = fld_d2W;
break; break;
case INVALIDFULLYEAR: case INVALIDFULLYEAR:
case FULLYEAR: case FULLYEAR:
bufptr = (WCHAR *)fld_d4W; bufptr = fld_d4W;
break; break;
case THREECHARDAY: case THREECHARDAY:
bufptr = (WCHAR *)fld_day3; bufptr = fld_day3;
break; break;
case FULLDAY: case FULLDAY:
bufptr = (WCHAR *)fld_day; bufptr = fld_day;
break; break;
case THREECHARMONTH: case THREECHARMONTH:
bufptr = (WCHAR *)fld_mon3; bufptr = fld_mon3;
break; break;
case FULLMONTH: case FULLMONTH:
bufptr = (WCHAR *)fld_mon; bufptr = fld_mon;
break; break;
case ONELETTERAMPM: case ONELETTERAMPM:
bufptr = (WCHAR *)fld_am1; bufptr = fld_am1;
break; break;
case TWOLETTERAMPM: case TWOLETTERAMPM:
bufptr = (WCHAR *)fld_am2; bufptr = fld_am2;
break; break;
default: default:
bufptr = (WCHAR *)fld_d1W; bufptr = fld_d1W;
break; break;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment