Fixed warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8505 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Tanya Lattner 2003-09-13 03:18:56 +00:00
parent dcf0490fe5
commit e3df92e9c1

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));