Use suffixed {uint,int}{8,16,32,64}_t types.
Removes the use of uint8, etc. in favor of uint8_t. BUG=webrtc:5024 R=henrik.lundin@webrtc.org, henrikg@webrtc.org, perkj@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org, tina.legrand@webrtc.org Review URL: https://codereview.webrtc.org/1362503003 . Cr-Commit-Position: refs/heads/master@{#10196}
This commit is contained in:
@ -225,12 +225,13 @@ bool Pathname::SetFilename(const std::string& filename) {
|
||||
}
|
||||
|
||||
#if defined(WEBRTC_WIN)
|
||||
bool Pathname::GetDrive(char *drive, uint32 bytes) const {
|
||||
bool Pathname::GetDrive(char* drive, uint32_t bytes) const {
|
||||
return GetDrive(drive, bytes, folder_);
|
||||
}
|
||||
|
||||
// static
|
||||
bool Pathname::GetDrive(char *drive, uint32 bytes,
|
||||
bool Pathname::GetDrive(char* drive,
|
||||
uint32_t bytes,
|
||||
const std::string& pathname) {
|
||||
// need at lease 4 bytes to save c:
|
||||
if (bytes < 4 || pathname.size() < 3) {
|
||||
|
||||
Reference in New Issue
Block a user