Skip to content

Commit

Permalink
Fix comments.
Browse files Browse the repository at this point in the history
Forgot to update these in https://android-review.googlesource.com/#/c/109809/

Change-Id: I53f838e2f134f53964161d9620d5ead00c4a3939
  • Loading branch information
brianduff committed Apr 28, 2015
1 parent 54511f7 commit 9ffaa50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public class Extension<M extends ExtendableMessageNano<M>, T> {
public static final int TYPE_SINT64 = InternalNano.TYPE_SINT64;

// Note: these create...() methods take a long for the tag parameter,
// because tags are represented as unsigned longs, and these values exist
// because tags are represented as unsigned ints, and these values exist
// in generated code as long values. However, they can fit in 32-bits, so
// it's safe to cast them to int without loss of precision.

Expand Down Expand Up @@ -142,7 +142,7 @@ Extension<M, T> createRepeatedPrimitiveTyped(
protected final Class<T> clazz;

/**
* Tag number of this extension.
* Tag number of this extension. The data should be viewed as an unsigned 32-bit value.
*/
public final int tag;

Expand Down

0 comments on commit 9ffaa50

Please sign in to comment.