mirror of
https://github.com/TomHarte/CLK.git
synced 2025-11-01 11:16:16 +00:00
Begins this project's conversion to functional-style casts.
This commit is contained in:
@@ -24,7 +24,7 @@ G64::G64(const char *file_name) :
|
||||
if(version != 0) throw ErrorUnknownVersion;
|
||||
|
||||
// get the number of tracks and track size
|
||||
number_of_tracks_ = (uint8_t)fgetc(file_);
|
||||
number_of_tracks_ = static_cast<uint8_t>(fgetc(file_));
|
||||
maximum_track_size_ = fgetc16le();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user