Skip to content

Commit

Permalink
Fixed compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jun 18, 2019
1 parent 99abcbb commit 14e8b93
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Empty file modified Xcode/SDL/SDL.xcodeproj/project.pbxproj 100644 → 100755
Empty file.
8 changes: 0 additions & 8 deletions src/audio/SDL_audiotypecvt.c
Expand Up @@ -1340,11 +1340,7 @@ SDL_Convert_F32_to_S32_NEON(SDL_AudioCVT *cvt, SDL_AudioFormat format)
if (sample >= 1.0f) {
*dst = 2147483647;
} else if (sample <= -1.0f) {
#ifdef _MSC_VER /* !!! FIXME: bug in Visual Studio? */
*dst = (-2147483647) - 1;
#else
*dst = -2147483648;
#endif
} else {
*dst = ((Sint32)(sample * 8388607.0f)) << 8;
}
Expand Down Expand Up @@ -1372,11 +1368,7 @@ SDL_Convert_F32_to_S32_NEON(SDL_AudioCVT *cvt, SDL_AudioFormat format)
if (sample >= 1.0f) {
*dst = 2147483647;
} else if (sample <= -1.0f) {
#ifdef _MSC_VER /* !!! FIXME: bug in Visual Studio? */
*dst = (-2147483647) - 1;
#else
*dst = -2147483648;
#endif
} else {
*dst = ((Sint32)(sample * 8388607.0f)) << 8;
}
Expand Down

0 comments on commit 14e8b93

Please sign in to comment.