Avoid a gcc warning.

llvm-svn: 131161
This commit is contained in:
Rafael Espindola 2011-05-10 22:28:35 +00:00
parent b361d2b2bc
commit de32fa163f
1 changed files with 2 additions and 1 deletions

View File

@ -770,7 +770,8 @@ MCSymbol *FrameEmitterImpl::EmitFDE(MCStreamer &streamer,
unsigned size = getSizeForEncoding(streamer, fdeEncoding);
// PC Begin
unsigned PCBeginEncoding = IsEH ? fdeEncoding : dwarf::DW_EH_PE_absptr;
unsigned PCBeginEncoding = IsEH ? fdeEncoding :
(unsigned)dwarf::DW_EH_PE_absptr;
unsigned PCBeginSize = getSizeForEncoding(streamer, PCBeginEncoding);
EmitSymbol(streamer, *frame.Begin, PCBeginEncoding);