From 5a2f80dcde2e76356bf568f1e2d71b054a7db45b Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 4 Dec 2015 07:06:18 +0100 Subject: clang-modernize part 5 --- src/lib/formats/orao_cas.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/formats/orao_cas.cpp') diff --git a/src/lib/formats/orao_cas.cpp b/src/lib/formats/orao_cas.cpp index 9e88119d825..784f9563cc0 100644 --- a/src/lib/formats/orao_cas.cpp +++ b/src/lib/formats/orao_cas.cpp @@ -23,7 +23,7 @@ static INT16 wave_data; static int len; static void orao_output_wave( INT16 **buffer, int length ) { - if ( buffer == NULL ) { + if ( buffer == nullptr ) { return; } @@ -36,7 +36,7 @@ static int orao_cas_to_wav_size( const UINT8 *casdata, int caslen ) { int i,j,size; UINT8 b; - if (casdata == NULL) return -1; + if (casdata == nullptr) return -1; if (caslen <= ORAO_HEADER_SIZE) { return -1; } @@ -59,7 +59,7 @@ static int orao_cas_fill_wave( INT16 *buffer, int length, UINT8 *bytes ) { int i,j,size; UINT8 b; size = 0; - if (bytes == NULL) return -1; + if (bytes == nullptr) return -1; for (i=ORAO_HEADER_SIZE;i> j) & 1; @@ -113,7 +113,7 @@ static const struct CassetteFormat orao_cassette_format = { "tap", orao_cassette_identify, orao_cassette_load, - NULL + nullptr }; -- cgit v1.2.3-70-g09d2