Skip to content

Commit

Permalink
fix some compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawrence D'Oliveiro committed Aug 5, 2013
1 parent 5478806 commit 0026855
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
Version Control Systems. -->
<loadproperties srcFile="local.properties" />
<loadproperties srcFile="keystore.properties" />
<!-- <property name="java.compilerargs" value="-Xlint" /> --> <!-- enable for extra warnings -->

<!-- The ant.properties file can be created by you. It is only edited by the
'android' tool to add properties to it.
Expand Down
2 changes: 1 addition & 1 deletion src/CameraList.java
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ class OnSetCheck implements View.OnClickListener
{
TheView = TemplateInflater.inflate(ResID, null);
} /*if*/
final CameraItem ThisItem = (CameraItem)this.getItem(Position);
final CameraItem ThisItem = this.getItem(Position);
((android.widget.TextView)TheView.findViewById(R.id.camera_id)).setText
(
Integer.toString(ThisItem.CameraID)
Expand Down
6 changes: 3 additions & 3 deletions src/CameraUseful.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ except it gets red and blue the wrong way round (decoding NV12 rather than NV21)
(
Math.min
(
(int)(
(
Y
+
Cr
Expand All @@ -119,7 +119,7 @@ except it gets red and blue the wrong way round (decoding NV12 rather than NV21)
(
Math.min
(
(int)(
(
Y
-
(Cr >> 2)
Expand Down Expand Up @@ -147,7 +147,7 @@ except it gets red and blue the wrong way round (decoding NV12 rather than NV21)
(
Math.min
(
(int)(
(
Y
+
Cb
Expand Down

0 comments on commit 0026855

Please sign in to comment.