Преглед на файлове

qcacld-3.0: Fix compilation error of unsigned only in ISO C90

Constant value 4294967295 is recognized as an signed integer
in ISO C90. Change the definition of the constant value to
4294967295UL to fix compilation error where need a unsigned
value as a input parameter.

Change-Id: I02f67b6351c53b5e3331ce668059c4c61953a8d3
CRs-Fixed: 2023140
Yingying Tang преди 8 години
родител
ревизия
7ccf7d027d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      core/hdd/inc/wlan_hdd_debugfs_llstat.h

+ 1 - 1
core/hdd/inc/wlan_hdd_debugfs_llstat.h

@@ -36,7 +36,7 @@
 #define _WLAN_HDD_DEBUGFS_LLSTAT_H
 
 #define DEBUGFS_LLSTATS_BUF_SIZE 10240
-#define DEBUGFS_LLSTATS_REQID   4294967295
+#define DEBUGFS_LLSTATS_REQID   4294967295UL
 #define DEBUGFS_LLSTATS_REQMASK 0x7
 
 #include <wlan_hdd_main.h>