blob: 332276e143297ade230c2f023b0b4122e19ff481 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
diff --git a/device/common/misc.cpp b/device/common/misc.cpp
index 7b3a7fb..612aacd 100644
--- a/device/common/misc.cpp
+++ b/device/common/misc.cpp
@@ -198,7 +198,7 @@ const char *Device::cidrToNetmask(const char *cidr)
unsigned int Device::ipAddressToNum(const char *address)
{
// Variables...
- char *addressPointer = 0;
+ const char *addressPointer = 0;
unsigned int returnAddress = 0;
int tempInt = 0;
|