Permalink
Browse files

Merge pull request #4 from reflection/bug_fix

Bug fix
  • Loading branch information...
2 parents 2820ec5 + c2b3a84 commit 23edbb795d94cc94320fd3f44cb590a737f961e4 @ruediger committed Mar 7, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 include/bert/format.hpp
  2. +1 −1 include/bert/scan.hpp
View
@@ -34,7 +34,7 @@ namespace bert {
*++i = static_cast<byte_t>(data >> 8);
*++i = static_cast<byte_t>(data);
#endif
- return i;
+ return ++i;
}
template<typename Integer, typename Iterator>
View
@@ -47,7 +47,7 @@ namespace bert {
#endif
break;
default:
- throw bert_exception("unkown type");
+ throw bert_exception("unknown type");
}
return static_cast<type_t>(t);
}

0 comments on commit 23edbb7

Please sign in to comment.