Whoops, fixed a compiler warning.
This commit is contained in:
@@ -61,11 +61,11 @@
|
|||||||
# We only need the first few characters of the commit ID.
|
# We only need the first few characters of the commit ID.
|
||||||
export COMMIT=${TRAVIS_COMMIT::7}
|
export COMMIT=${TRAVIS_COMMIT::7}
|
||||||
|
|
||||||
echo "Downloading VARCem build dependencies.."
|
echo ; echo "Downloading VARCem build dependencies.."
|
||||||
curl -# ${EXTDEP_URL} | tar xzf - 2>/dev/null
|
curl -# ${EXTDEP_URL} | tar xzf - 2>/dev/null
|
||||||
|
|
||||||
# Build the project.
|
# Build the project.
|
||||||
echo "Building VARCem, build #${TRAVIS_BUILD_NUMBER} target ${TARGET}"
|
echo ; echo "Building VARCem #${TRAVIS_BUILD_NUMBER} target ${TARGET}"
|
||||||
|
|
||||||
cd src
|
cd src
|
||||||
|
|
||||||
@@ -77,9 +77,9 @@
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Package the results so we can upload them.
|
# 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
|
if [ $? != 0 ]; then
|
||||||
echo "ZIP failed, not uploading."
|
echo "ZIP failed, not uploading."
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Uploading VARCem build #${TRAVIS_BUILD_NUMBER} target ${TARGET}"
|
echo ; echo "Uploading VARCem #${TRAVIS_BUILD_NUMBER} target ${TARGET}"
|
||||||
curl -# -X POST \
|
curl -# -X POST \
|
||||||
-F "type=${BTYPE}" \
|
-F "type=${BTYPE}" \
|
||||||
-F "build=${TRAVIS_BUILD_NUMBER}" \
|
-F "build=${TRAVIS_BUILD_NUMBER}" \
|
||||||
|
|||||||
@@ -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;
|
HRESULT hr = S_OK;
|
||||||
void *srcdata;
|
void *srcdata;
|
||||||
int yy;
|
int yy;
|
||||||
float fs_x, fs_y;
|
float fs_x = 0, fs_y = 0;
|
||||||
float fs_w = (float)w;
|
float fs_w = (float)w;
|
||||||
float fs_h = (float)h;
|
float fs_h = (float)h;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user