X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Ftrackchain.cpp;h=c6d615dcec3212ec0f262bb4eb9157b3dc889cb8;hb=70a640189a14fcf9a52ccb21752ac45a4b2e2233;hp=f354c6eac7054fb0d9f6c4c59f30578981e33acf;hpb=9a2fd67cec715e371e293be638b126e0d1b2148d;p=r2c2.git diff --git a/source/libr2c2/trackchain.cpp b/source/libr2c2/trackchain.cpp index f354c6e..c6d615d 100644 --- a/source/libr2c2/trackchain.cpp +++ b/source/libr2c2/trackchain.cpp @@ -184,7 +184,7 @@ void operator<<(LexicalConverter &conv, TrackChain::Direction dir) case TrackChain::UNSPECIFIED: conv.result("UNSPECIFIED"); return; case TrackChain::UP: conv.result("UP"); return; case TrackChain::DOWN: conv.result("DOWN"); return; - default: throw lexical_error(format("conversion of Direction(%d) to string", dir)); + default: throw lexical_error(format("conversion of Direction(%d) to string", static_cast(dir))); } }