Thread
:
Bug in Dashboard::AddString
View Single Post
#
1
11-02-2012, 12:05
kccowan
Registered User
AKA: Ken Cowan
FRC #1073
Team Role: Mentor
Join Date: Feb 2011
Rookie Year: 2010
Location: Hollis, NH
Posts: 17
Bug in Dashboard::AddString
Dashboard::AddString has a bug. It take the address of the address of the string.
memcpy(m_packPtr, (char*)&value, length);
should be
memcpy(m_packPtr, value, length);
KC
kccowan
View Public Profile
Find all posts by kccowan
Find CD-Media Photos by kccowan
Find CD-Media Papers by kccowan