aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_shader_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-10-07 15:19:39 -0400
committerDavid Robillard <d@drobilla.net>2022-10-07 15:22:43 -0400
commit17d90bda87dd445a974de7e644629593ade617d8 (patch)
tree319a23c713a4d089863d9c169d63a1d2d413521c /examples/pugl_shader_demo.c
parented4c8a50505ab02a8f3a01e41f5f86acca04b81d (diff)
downloadpugl-17d90bda87dd445a974de7e644629593ade617d8.tar.gz
pugl-17d90bda87dd445a974de7e644629593ade617d8.tar.bz2
pugl-17d90bda87dd445a974de7e644629593ade617d8.zip
Use uppercase integer literal suffixes
Diffstat (limited to 'examples/pugl_shader_demo.c')
-rw-r--r--examples/pugl_shader_demo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/pugl_shader_demo.c b/examples/pugl_shader_demo.c
index d018db3..e3a1900 100644
--- a/examples/pugl_shader_demo.c
+++ b/examples/pugl_shader_demo.c
@@ -46,7 +46,7 @@
#endif
static const PuglSpan defaultSpan = 512;
-static const uintptr_t resizeTimerId = 1u;
+static const uintptr_t resizeTimerId = 1U;
typedef struct {
const char* programPath;
@@ -202,7 +202,7 @@ loadShader(const char* const programPath, const char* const name)
const size_t fileSize = (size_t)ftell(file);
fseek(file, 0, SEEK_SET);
- char* source = (char*)calloc(1, fileSize + 1u);
+ char* source = (char*)calloc(1, fileSize + 1U);
if (fread(source, 1, fileSize, file) != fileSize) {
free(source);