Browse Source

[1603] minor style fixes to labelsequence.

JINMEI Tatuya 13 years ago
parent
commit
bfb21aba64
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/dns/labelsequence.h

+ 2 - 2
src/lib/dns/labelsequence.h

@@ -105,7 +105,7 @@ public:
     /// \brief Returns the current number of labels for this LabelSequence
     /// \brief Returns the current number of labels for this LabelSequence
     ///
     ///
     /// \return The number of labels
     /// \return The number of labels
-    size_t getLabelCount() const { return last_label_ - first_label_; }
+    size_t getLabelCount() const { return (last_label_ - first_label_); }
 
 
     /// \brief Returns the original Name object associated with this
     /// \brief Returns the original Name object associated with this
     ///        LabelSequence
     ///        LabelSequence
@@ -116,7 +116,7 @@ public:
     /// LabelSequence itself.
     /// LabelSequence itself.
     ///
     ///
     /// \return Reference to the original Name object
     /// \return Reference to the original Name object
-    const Name& getName() const { return name_; }
+    const Name& getName() const { return (name_); }
 
 
     /// \brief Checks whether the label sequence is absolute
     /// \brief Checks whether the label sequence is absolute
     ///
     ///