diff options
Diffstat (limited to 'gold/symtab.h')
-rw-r--r-- | gold/symtab.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gold/symtab.h b/gold/symtab.h index 089e156..16a2448 100644 --- a/gold/symtab.h +++ b/gold/symtab.h @@ -914,7 +914,7 @@ class Symbol // Instances of this class should always be created at a specific // size. Symbol() - { memset(this, 0, sizeof *this); } + { memset(static_cast<void*>(this), 0, sizeof *this); } // Initialize the general fields. void |