Use rpmTag as psm scriptTag for type correctness
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 21 Sep 2010 13:39:59 +0000 (16:39 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 21 Sep 2010 13:40:28 +0000 (16:40 +0300)
lib/psm.c

index 7dd2a01..978bbd6 100644 (file)
--- a/lib/psm.c
+++ b/lib/psm.c
@@ -58,7 +58,7 @@ typedef struct rpmpsm_s {
     rpmfi fi;                  /*!< transaction element file info */
     const char * goalName;
     char * failedFile;
-    int scriptTag;             /*!< Scriptlet data tag. */
+    rpmTag scriptTag;          /*!< Scriptlet data tag. */
     int npkgs_installed;       /*!< No. of installed instances. */
     int scriptArg;             /*!< Scriptlet package arg. */
     rpmsenseFlags sense;       /*!< One of RPMSENSE_TRIGGER{PREIN,IN,UN,POSTUN}. */