Browse Source

fix compiler warnings

pull/3/head
jake 5 years ago
parent
commit
d0f93fcd54
  1. 2
      src/packet/login.rs
  2. 2
      src/packet/patch.rs

2
src/packet/login.rs

@ -3,7 +3,7 @@ use crate::{PSOPacket, PacketParseError};
use crate::character::character::SelectScreenCharacter; use crate::character::character::SelectScreenCharacter;
use std::io::{Read, Seek, SeekFrom};
use std::io::Read;
pub const PATCH_FILE_CHUNK_SIZE: u16 = 0x8000; // 32kb pub const PATCH_FILE_CHUNK_SIZE: u16 = 0x8000; // 32kb
pub const GUILD_CARD_CHUNK_SIZE: usize = 0x6800; pub const GUILD_CARD_CHUNK_SIZE: usize = 0x6800;

2
src/packet/patch.rs

@ -1,7 +1,7 @@
use psopacket::pso_packet; use psopacket::pso_packet;
use crate::{PSOPacket, PacketParseError}; use crate::{PSOPacket, PacketParseError};
use std::io::{Read, Seek, SeekFrom};
use std::io::Read;
pub const PATCH_FILE_CHUNK_SIZE: u16 = 0x8000; // 32kb pub const PATCH_FILE_CHUNK_SIZE: u16 = 0x8000; // 32kb

Loading…
Cancel
Save