summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs b/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs
index 28c50a85f8..f2613e7224 100644
--- a/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs
+++ b/src/mscorlib/src/System/Diagnostics/Eventing/EventSource.cs
@@ -1836,7 +1836,7 @@ namespace System.Diagnostics.Tracing
dataPointer = data->DataPointer;
data++;
for (int i = 0; i < cbSize; ++i)
- blob[i] = *((byte*)dataPointer);
+ blob[i] = *((byte*)(dataPointer + i));
return blob;
}
else if (dataType == typeof(byte*))