Remove ambiguity introduced in r192836
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 16 Oct 2013 20:40:46 +0000 (20:40 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 16 Oct 2013 20:40:46 +0000 (20:40 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192840 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter/DIEHash.cpp

index abc504c0581c0abef47f5b01509d5490633b2b61..bf02daac517dcefe2f9a47838de8a52c3a14defe 100644 (file)
@@ -385,7 +385,7 @@ void DIEHash::computeHash(DIE *Die) {
     computeHash(*I);
 
   // Following the last (or if there are no children), append a zero byte.
-  Hash.update((uint8_t)0);
+  Hash.update(makeArrayRef((uint8_t)'\0'));
 }
 
 /// This is based on the type signature computation given in section 7.27 of the