Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 343858
b: refs/heads/master
c: 534d032
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Oct 28, 2012
1 parent 85f8fad commit f4237a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 199ab8fed4dcbe86dad74b6ed8733ff4c500e6df
refs/heads/master: 534d032601b1e274da0f0297c1312e79e56344a9
2 changes: 1 addition & 1 deletion trunk/drivers/media/usb/usbvision/usbvision.h
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ enum {

/* This macro restricts an int variable to an inclusive range */
#define RESTRICT_TO_RANGE(v, mi, ma) \
{ if ((v) < (mi)) (v) = (mi); else if ((v) > (ma)) (v) = (ma); }
{ if (((int)v) < (mi)) (v) = (mi); else if ((v) > (ma)) (v) = (ma); }

/*
* We use macros to do YUV -> RGB conversion because this is
Expand Down

0 comments on commit f4237a9

Please sign in to comment.