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

Unified Diff: courgette/ensemble.h

Issue 1543643002: Switch to standard integer types in courgette/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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
« no previous file with comments | « courgette/encoded_program_unittest.cc ('k') | courgette/ensemble.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: courgette/ensemble.h
diff --git a/courgette/ensemble.h b/courgette/ensemble.h
index e538bd6d82f31b9cfe53b037d157830e0a0de893..adb4b079c3266578f5be11eade80033f63f04e65 100644
--- a/courgette/ensemble.h
+++ b/courgette/ensemble.h
@@ -17,11 +17,13 @@
#ifndef COURGETTE_ENSEMBLE_H_
#define COURGETTE_ENSEMBLE_H_
-#include <vector>
-#include <string>
+#include <stddef.h>
+#include <stdint.h>
-#include "base/basictypes.h"
+#include <string>
+#include <vector>
+#include "base/macros.h"
#include "courgette/courgette.h"
#include "courgette/region.h"
#include "courgette/streams.h"
@@ -130,9 +132,9 @@ struct CourgettePatchFile {
// element-2
// ...
- static const uint32 kMagic = 'C' | ('o' << 8) | ('u' << 16);
+ static const uint32_t kMagic = 'C' | ('o' << 8) | ('u' << 16);
- static const uint32 kVersion = 20110216;
+ static const uint32_t kVersion = 20110216;
};
// For any transform you would implement both a TransformationPatcher and a
« no previous file with comments | « courgette/encoded_program_unittest.cc ('k') | courgette/ensemble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698