Skip to content

Commit

Permalink
serialization - minor fix, casting
Browse files Browse the repository at this point in the history
  • Loading branch information
ph4r05 committed May 21, 2016
1 parent 327f3df commit bc52b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WBAESGenerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ namespace boost { namespace serialization {
}
template<class Archive> void save(Archive & ar, const NTL::GF2 & t, unsigned int version)
{
char c = rep(t);
char c = (char)rep(t);
ar & c; // rep returns long, space optimization, store as 1B (GF2 is boolean)
}
template<class Archive> void load(Archive & ar, NTL::GF2 & t, unsigned int version)
Expand Down

0 comments on commit bc52b32

Please sign in to comment.