Procházet zdrojové kódy

gcc warning for sign conversion

See patch #10143
Florian La Roche před 4 roky
rodič
revize
7c3aab2ea2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      test/unit/lwip_unittests.c

+ 1 - 1
test/unit/lwip_unittests.c

@@ -26,7 +26,7 @@
 unsigned int
 lwip_port_rand(void)
 {
-  return rand();
+  return (unsigned int)rand();
 }
 
 Suite* create_suite(const char* name, testfunc *tests, size_t num_tests, SFun setup, SFun teardown)