Skip to content

Commit

Permalink
for tag enum support Short as well (Number)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuth committed Oct 18, 2024
1 parent 4e2972a commit 2a703c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/de/gmuth/ipp/core/IppTag.kt
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ enum class IppTag(
// Integer
Integer(0x21, "integer", { it is Number }),
Boolean(0x22, "boolean", { it is kotlin.Boolean }),
Enum(0x23, "enum", { it is Int }),
Enum(0x23, "enum", { it is Number }),

// Misc
OctetString(0x30, "octetString", { it is String }),
Expand Down

0 comments on commit 2a703c9

Please sign in to comment.