Share

mpvtools

Tracker: Bugs

5 MpvStrToMBCS uses "const" incorrectly - ID: 837415
Last Update: Comment added ( adavidso )

The MPV function MpvStrToMBCS in the v 2.0 release uses
"const" incorrectly. The function declaration
currently reads

size_t MpvStrToMBCS(const char *mbstr, MpvChar *wcstr,
size_t count)

But in this function "mbstr" is the *destination*
buffer, not the source buffer. The function
declaration should instead read

size_t MpvStrToMBCS(char *mbstr, const MpvChar *wcstr,
size_t count)

--Steven Cole


Steven Cole ( scole66 ) - 2003-11-06 18:30

5

Closed

Fixed

Andy Davidson

None

None

Public


Comment ( 1 )




Date: 2005-03-18 02:14
Sender: adavidsoProject Admin

Logged In: YES
user_id=640757

Fixed in release: mpvsdk2.1


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2005-03-18 02:07 adavidso
close_date - 2005-03-18 02:07 adavidso
resolution_id None 2005-03-18 02:04 adavidso
assigned_to nobody 2005-03-18 02:04 adavidso