examples: fix a compilation error on windows. 76/289676/1
authorHermet Park <hermetpark@gmail.com>
Tue, 23 Aug 2022 13:44:24 +0000 (22:44 +0900)
committerMichal Szczecinski <mihashco89@gmail.com>
Mon, 13 Mar 2023 08:32:00 +0000 (09:32 +0100)
../src/examples/Performance.cpp:32:8: error: 'uint' does not name a type; did you mean 'u_int'?
   32 | static uint cnt = 0;
      |        ^~~~
      |        u_int

@Issues: https://github.com/Samsung/thorvg/issues/1247

Change-Id: I3f9ae082a89d32519517bedce68cdd5e0c21564b

src/examples/Performance.cpp

index 6625aad..ddc5d78 100644 (file)
@@ -29,7 +29,7 @@
 static tvg::Picture* pPicture = nullptr;
 static double updateTime = 0;
 static double accumulateTime = 0;
-static uint cnt = 0;
+static uint32_t cnt = 0;
 
 void tvgDrawCmds(tvg::Canvas* canvas)
 {