I think something like:

ScoutingDirection unsign = static_cast<ScoutingDirection>(des.unsigned_8());

should work. The compiler will tell you if I'm wrong.
-- 
https://code.launchpad.net/~widelands-dev/widelands/bug-1422452/+merge/250232
Your team Widelands Developers is requested to review the proposed merge of 
lp:~widelands-dev/widelands/bug-1422452 into lp:widelands.

_______________________________________________
Mailing list: https://launchpad.net/~widelands-dev
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~widelands-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to