repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sharp: check whether the 'auto power on' option is disabled and tell the user how...
[deb_libcec.git]
/
src
/
lib
/
platform
/
nvidia
/
nv-edid.cpp
diff --git
a/src/lib/platform/nvidia/nv-edid.cpp
b/src/lib/platform/nvidia/nv-edid.cpp
index 0c0bbd6dc6179492924bb0ca947d0bf5b68550c7..549255c0489827a3f0fde68326032bf55a0ef7fa 100644
(file)
--- a/
src/lib/platform/nvidia/nv-edid.cpp
+++ b/
src/lib/platform/nvidia/nv-edid.cpp
@@
-1,7
+1,7
@@
/*
* This file is part of the libCEC(R) library.
*
/*
* This file is part of the libCEC(R) library.
*
- * libCEC(R) is Copyright (C) 2011-201
2
Pulse-Eight Limited. All rights reserved.
+ * libCEC(R) is Copyright (C) 2011-201
3
Pulse-Eight Limited. All rights reserved.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
* libCEC(R) is an original work, containing original code.
*
* libCEC(R) is a trademark of Pulse-Eight Limited.
@@
-30,6
+30,9
@@
* http://www.pulse-eight.net/
*/
* http://www.pulse-eight.net/
*/
+#include "env.h"
+
+#include "lib/platform/os.h"
#include "nv-edid.h"
using namespace PLATFORM;
#include "nv-edid.h"
using namespace PLATFORM;
@@
-46,7
+49,7
@@
uint16_t CNVEdidParser::GetPhysicalAddress(void)
char buf[4096];
memset(buf, 0, sizeof(buf));
int iPtr(0);
char buf[4096];
memset(buf, 0, sizeof(buf));
int iPtr(0);
-
char
c(0);
+
int
c(0);
while (c != EOF)
{
c = fgetc(fp);
while (c != EOF)
{
c = fgetc(fp);