From e3df92e9c18eed1f550babb0014827cd8a740112 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Sat, 13 Sep 2003 03:18:56 +0000 Subject: Fixed warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8505 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-ar/llvm-ar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/llvm-ar') diff --git a/tools/llvm-ar/llvm-ar.cpp b/tools/llvm-ar/llvm-ar.cpp index 0af2b05..10f83f8 100644 --- a/tools/llvm-ar/llvm-ar.cpp +++ b/tools/llvm-ar/llvm-ar.cpp @@ -112,7 +112,7 @@ bool WriteSymbolTable(std::ofstream &ArchiveFile) { //Name of symbol table is '/' Hdr.name[0] = '/'; - Hdr.name[1] = '/0'; + Hdr.name[1] = '\0'; //Set the header trailer to a newline memcpy(Hdr.fmag,ARFMAG,sizeof(ARFMAG)); -- cgit v1.1