Parent Directory
|
Revision Log
|
Patch
--- trunk/libThermoControl/Configuration.cs 2013/11/13 02:22:43 20 +++ trunk/libThermoControl/Configuration.cs 2013/11/13 02:39:41 21 @@ -71,7 +71,7 @@ { using (BinaryWriter bw = new BinaryWriter(fs)) { - bw.Write(temp); + bw.Write((byte)temp); bw.Flush(); bw.Close(); } @@ -98,7 +98,7 @@ { using (BinaryReader br = new BinaryReader(fs)) { - temp = br.ReadInt32(); + temp = br.ReadByte(); br.Close(); } }
ViewVC Help | |
Powered by ViewVC 1.1.22 |