Explicitly convert type to an int before writing to the log stream.

Change-Id: Icb242d2c63b2824ac2f832b17949b8e2d2fac8a4
diff --git a/src/class_linker.cc b/src/class_linker.cc
index 8e43135..3475bd1 100644
--- a/src/class_linker.cc
+++ b/src/class_linker.cc
@@ -412,7 +412,7 @@
         field->SetObject(value.l);
         break;
       default:
-        LOG(FATAL) << "Unknown type " << type;
+        LOG(FATAL) << "Unknown type " << static_cast<int>(type);
     }
   }
 }