projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f60ec39
)
bugfix: Resolved -Werror message in main.cpp
author
Matt Ranostay
<mranostay@gmail.com>
Thu, 7 Mar 2013 23:51:08 +0000
(15:51 -0800)
committer
Uwe Hermann
<uwe@hermann-uwe.de>
Sat, 9 Mar 2013 10:43:04 +0000
(11:43 +0100)
pulseview/main.cpp: In function ‘int main(int, char**)’:
pulseview/main.cpp:91:13: error: comparison is always false due to limited range of data type [-Werror=type-limits]
Signed-off-by: Matt Ranostay <mranostay@gmail.com>
main.cpp
patch
|
blob
|
history
diff --git
a/main.cpp
b/main.cpp
index 43c8cb8e965c1c22bb947d3be71d7d3bf39d2613..9e8bfc7f9c83313510ca8b186102ecc4297f66c3 100644
(file)
--- a/
main.cpp
+++ b/
main.cpp
@@
-86,7
+86,7
@@
int main(int argc, char *argv[])
{0, 0, 0, 0}
};
- const
char
c = getopt_long(argc, argv,
+ const
int
c = getopt_long(argc, argv,
"Vh?", long_options, NULL);
if (c == -1)
break;