commit | e3df92e9c18eed1f550babb0014827cd8a740112 | [log] [tgz] |
---|---|---|
author | Tanya Lattner <tonic@nondot.org> | Sat Sep 13 03:18:56 2003 +0000 |
committer | Tanya Lattner <tonic@nondot.org> | Sat Sep 13 03:18:56 2003 +0000 |
tree | 1fd88991083b70e852adbe33f4bbdb03fa09c51b | |
parent | dcf0490fe5e76bd70630fc8d31f973bc49bfed00 [diff] [blame] |
Fixed warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8505 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@ //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));