NULL to nullptr

This commit is contained in:
Arthur Ice
2013-05-04 18:06:58 -07:00
parent e1c2657b11
commit 7560b6b0a7
216 changed files with 4151 additions and 4151 deletions
+3 -3
View File
@@ -67,7 +67,7 @@ inline void Lower(char *str) {
PFSLoader::PFSLoader() {
// Set the status of the loader that nothing is loaded.
this->buffer = NULL;
this->buffer = nullptr;
this->buf_len = -1;
this->status = 0;
}
@@ -195,7 +195,7 @@ int PFSLoader::Close()
else
return 0;
this->buffer = NULL;
this->buffer = nullptr;
this->buf_len = -1;
this->status = 0;
@@ -214,7 +214,7 @@ const char *PFSLoader::FindExtension(const char *ext) {
if(!strcmp(this->filenames[i]+(flen-elen), ext))
return(this->filenames[i]);
}
return(NULL);
return(nullptr);
}
int PFSLoader::GetFile(char *name, uchar **buf, int *len) {