Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(177)

Unified Diff: firmware/lib/include/stateful_util.h

Issue 2851015: Fixes to compiler warnings in MSVC (Closed) Base URL: ssh://gitrw.chromium.org/vboot_reference.git
Patch Set: Also fix gpt numbering bug Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: firmware/lib/include/stateful_util.h
diff --git a/firmware/lib/include/stateful_util.h b/firmware/lib/include/stateful_util.h
index e782ed8829d6608d137ef2c20488bb3638709c0d..5630534ffaf7d53b7faa642d6a891118e1e5f529 100644
--- a/firmware/lib/include/stateful_util.h
+++ b/firmware/lib/include/stateful_util.h
@@ -14,7 +14,7 @@
/* Track remaining data to be read in a buffer. */
typedef struct MemcpyState {
- void* remaining_buf;
+ uint8_t* remaining_buf;
uint64_t remaining_len; /* Remaining length of the buffer. */
uint8_t overrun; /* Flag set to 1 when an overrun occurs. */
} MemcpyState;

Powered by Google App Engine
This is Rietveld 408576698