From 124ddeff3cbb0223bf17231de26f2a31b1f77aa0 Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Sat, 13 Sep 2003 03:18:56 +0000 Subject: [PATCH] Fixed warning. llvm-svn: 8505 --- llvm/tools/llvm-ar/llvm-ar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/tools/llvm-ar/llvm-ar.cpp b/llvm/tools/llvm-ar/llvm-ar.cpp index 0af2b05b722f..10f83f8c2e4a 100644 --- a/llvm/tools/llvm-ar/llvm-ar.cpp +++ b/llvm/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));