Explorar el Código

net/channel: Make ChannelInfo ID a u32.

parazyd hace 3 años
padre
commit
02b15fd1c9
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/net/channel.rs

+ 1 - 1
src/net/channel.rs

@@ -49,7 +49,7 @@ pub type ChannelPtr = Arc<Channel>;
 #[derive(Clone, Debug, SerialEncodable, SerialDecodable)]
 pub struct ChannelInfo {
     pub address: Url,
-    pub random_id: usize,
+    pub random_id: u32,
 }
 
 impl ChannelInfo {