Fixed warning.

llvm-svn: 8505
This commit is contained in:
Tanya Lattner 2003-09-13 03:18:56 +00:00
parent 4777f035eb
commit 124ddeff3c
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ bool WriteSymbolTable(std::ofstream &ArchiveFile) {
//Name of symbol table is '/' //Name of symbol table is '/'
Hdr.name[0] = '/'; Hdr.name[0] = '/';
Hdr.name[1] = '/0'; Hdr.name[1] = '\0';
//Set the header trailer to a newline //Set the header trailer to a newline
memcpy(Hdr.fmag,ARFMAG,sizeof(ARFMAG)); memcpy(Hdr.fmag,ARFMAG,sizeof(ARFMAG));