diff options
author | Jb Evain <jbevain@gmail.com> | 2011-11-04 18:43:10 +0400 |
---|---|---|
committer | Jb Evain <jbevain@gmail.com> | 2011-11-04 18:43:10 +0400 |
commit | 21adf64971420d2eba84b58ee5c3569e2c530705 (patch) | |
tree | 867c8a09a5f1d041f051090d52017084b98b7f84 /symbols/pdb | |
parent | 74a697171cfc784ea856527730c1ffd1abb8ba2c (diff) |
Simplify
Diffstat (limited to 'symbols/pdb')
-rw-r--r-- | symbols/pdb/Mono.Cecil.Pdb/ModuleMetadata.cs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/symbols/pdb/Mono.Cecil.Pdb/ModuleMetadata.cs b/symbols/pdb/Mono.Cecil.Pdb/ModuleMetadata.cs index 6d581fd..e06f12a 100644 --- a/symbols/pdb/Mono.Cecil.Pdb/ModuleMetadata.cs +++ b/symbols/pdb/Mono.Cecil.Pdb/ModuleMetadata.cs @@ -497,10 +497,7 @@ namespace Mono.Cecil.Pdb { if (ptr == IntPtr.Zero) return; - if (IntPtr.Size == 8) - Marshal.WriteInt64 (ptr, value); - else - Marshal.WriteInt32 (ptr, (int) value); + Marshal.WriteInt32 (ptr, (int) value); } static void WriteString (string str, IntPtr buffer, uint bufferSize, out uint chars) |