Whoops, fixed a compiler warning.

This commit is contained in:
waltje
2019-04-30 04:45:12 -05:00
parent 2e079b67a3
commit dd23089179
3 changed files with 6 additions and 6 deletions

View File

@@ -61,11 +61,11 @@
# We only need the first few characters of the commit ID.
export COMMIT=${TRAVIS_COMMIT::7}
echo "Downloading VARCem build dependencies.."
echo ; echo "Downloading VARCem build dependencies.."
curl -# ${EXTDEP_URL} | tar xzf - 2>/dev/null
# Build the project.
echo "Building VARCem, build #${TRAVIS_BUILD_NUMBER} target ${TARGET}"
echo ; echo "Building VARCem #${TRAVIS_BUILD_NUMBER} target ${TARGET}"
cd src
@@ -77,9 +77,9 @@
fi
# Package the results so we can upload them.
echo "Build #${TRAVIS_BUILD_NUMBER} OK, packing up."
echo ; echo "Build #${TRAVIS_BUILD_NUMBER} OK, packing up."
zip -9 ../${TARGET}.zip *.exe
zip -q -9 ../${TARGET}.zip *.exe
if [ $? != 0 ]; then
echo "ZIP failed, not uploading."

View File

@@ -71,7 +71,7 @@
exit 1
fi
echo "Uploading VARCem build #${TRAVIS_BUILD_NUMBER} target ${TARGET}"
echo ; echo "Uploading VARCem #${TRAVIS_BUILD_NUMBER} target ${TARGET}"
curl -# -X POST \
-F "type=${BTYPE}" \
-F "build=${TRAVIS_BUILD_NUMBER}" \

View File

@@ -189,7 +189,7 @@ d2d_blit(bitmap_t *scr, int x, int y, int y1, int y2, int w, int h)
HRESULT hr = S_OK;
void *srcdata;
int yy;
float fs_x, fs_y;
float fs_x = 0, fs_y = 0;
float fs_w = (float)w;
float fs_h = (float)h;