diff options
| author | jhurst <jhurst@cinecert.com> | 2015-10-07 16:41:23 +0000 |
|---|---|---|
| committer | jhurst <> | 2015-10-07 16:41:23 +0000 |
| commit | af6a1e4ef13dcf5811ccd9eb6b63d21bdc88dc70 (patch) | |
| tree | 021ae744f611d9bfd2f8832c665351132205ab0b /src/kmrandgen.cpp | |
| parent | 77200515d9acee07988f26dadfa37ffbd169cdfb (diff) | |
o Moved personal dev environment from older gcc to newer clang. Many small changes were made to satisfy the new compiler:
- Altered many printf format codes to use the correct type for the given integer type
- Parenthesized some expressions to clarify previously ambiguous expectations of precedence
- Created macro KM_MACOSX for use in OS-specific code selection
- Removed last uses of the old C-language abs(), now using Kumu::xabs()
- Removed last uses of the old C-language atoi()
o Added platform-independent call Kumu::GetExecutablePath() (test with win32)
o Fixed a bug that was causing Array properties to be written without the (count, length) header (from PAL)
o Fixed Win32 build (from Crowe)
o Added imlementation of SMPTE ST 2092-1 pink noise generator
o Added pinkwave CLI utility
o Added font support to the IMF timed-text wrapper
Diffstat (limited to 'src/kmrandgen.cpp')
| -rw-r--r-- | src/kmrandgen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kmrandgen.cpp b/src/kmrandgen.cpp index c641e6b..c39eeb0 100644 --- a/src/kmrandgen.cpp +++ b/src/kmrandgen.cpp @@ -133,7 +133,7 @@ public: case 's': TEST_EXTRA_ARG(i, 's'); - request_size = abs(atoi(argv[i])); + request_size = Kumu::xabs(strtol(argv[i], 0, 10)); break; case 'v': verbose_flag = true; break; |
