Fix MSVC warning
authorChris Jones <jones.chris.g@gmail.com>
Fri, 04 Dec 2009 16:27:59 -0600
changeset 36156 30c3aa397fdc1e43bdb92d3724cdb85f9368895f
parent 36155 c228f7ad2a50b28397b643a985f0ba5110faac9e
child 36157 d512dee34413d8f227e9ac5c3d7127d00965387c
push idunknown
push userunknown
push dateunknown
milestone1.9.3a1pre
Fix MSVC warning
ipc/glue/Shmem.h
--- a/ipc/glue/Shmem.h
+++ b/ipc/glue/Shmem.h
@@ -84,17 +84,17 @@
  */
 
 namespace mozilla {
 namespace ipc {
 
 
 class NS_FINAL_CLASS Shmem
 {
-  friend class IPC::ParamTraits<mozilla::ipc::Shmem>;
+  friend struct IPC::ParamTraits<mozilla::ipc::Shmem>;
 
 public:
   typedef int32 id_t;
   // Low-level wrapper around platform shmem primitives.
   typedef mozilla::ipc::SharedMemory SharedMemory;
   typedef SharedMemory::SharedMemoryHandle SharedMemoryHandle;
   struct IHadBetterBeIPDLCodeCallingThis_OtherwiseIAmADoodyhead {};