Index: /trunk/glueforge/templates/psdb/popobject.tt
===================================================================
--- /trunk/glueforge/templates/psdb/popobject.tt	(revision 4264)
+++ /trunk/glueforge/templates/psdb/popobject.tt	(revision 4265)
@@ -17,5 +17,9 @@
 [% FOREACH item = columns -%]
 [% IF i == 0 %][% i = 1 %][% ELSE %], [% END -%]
+[% IF item.type == "STR" -%]
+(char **)&[% item.name -%]
+[% ELSE-%]
 &[% item.name -%]
+[% END -%]
 [% END %]);
     if (!status) {
