From aca8718811c5cc704d425c050fabf8c3669d0d3e Mon Sep 17 00:00:00 2001
From: Gediminas Jarulaitis <beos.zealot@gmail.com>
Date: Sat, 18 May 2013 18:00:50 +0300
Subject: [PATCH] fixes errors compiling netfs and netfs_server with gcc-4.7.3
---
src/add-ons/kernel/file_systems/netfs/client/ShareAttrDir.cpp | 2 +-
src/add-ons/kernel/file_systems/netfs/server/AttributeDirectory.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/add-ons/kernel/file_systems/netfs/client/ShareAttrDir.cpp b/src/add-ons/kernel/file_systems/netfs/client/ShareAttrDir.cpp
index a92a01f..febc358 100644
a
|
b
|
ShareAttrDir::GetAttribute(const char* name) const
|
395 | 395 | return attribute; |
396 | 396 | } |
397 | 397 | |
398 | | return false; |
| 398 | return NULL; |
399 | 399 | } |
400 | 400 | |
401 | 401 | // GetFirstAttribute |
diff --git a/src/add-ons/kernel/file_systems/netfs/server/AttributeDirectory.cpp b/src/add-ons/kernel/file_systems/netfs/server/AttributeDirectory.cpp
index 07b549d..8023ed2 100644
a
|
b
|
AttributeDirectory::GetAttribute(const char* name) const
|
329 | 329 | return attribute; |
330 | 330 | } |
331 | 331 | |
332 | | return false; |
| 332 | return NULL; |
333 | 333 | } |
334 | 334 | |
335 | 335 | // GetFirstAttribute |